ARTICLE AD BOX
I am looking for a way to execute dynamically generated Java bytecode on both OpenJDK VM and DalvikVM. In other words, I want to make platform-agnostic on-the-fly compiler to Java bytecode, using only Java (Java 8 is OK) and not requiring to use any storage space at runtime.
Only way I discovered to nearly do so on DalvikVM (Android) is to generate OpenJDK bytecode with ByteBuddy, then save it to .class file, convert to .dex using d8 tool and load class from .dex file. But that requires access to storage.
Is there any way of doing that without use of storage?
