android icon indicating copy to clipboard operation
android copied to clipboard

Provide API for getting Class instances looking up in all Runtime class loaders

Open vmutafov opened this issue 6 years ago • 0 comments

Currently, the Runtime uses multiple classloaders, mostly for the runtime generated classes by the Runtime Binding Generator. This might break in cases where a user requests a class with: Class.forName("com.test.SomeRuntimeGeneratedClass");

To overcome this issue, an API should be provided to lookup classes not only in the system class loader but in all class loaders used by the runtime. The API should be trivial to implement as there is already logic in the runtime to find classes in all class loaders and class caches.

vmutafov avatar Aug 08 '19 07:08 vmutafov