NativeScript / NativeScript/android
Provide API for getting Class instances looking up in all Runtime class loaders
Open
@vmutafov is already working on this.
Since Aug 8, 2019.
- Dominant language
- C++
- Stars
- 563
- Forks
- 144
- Avg merge
- 10h 46m
- Merged PRs (30d)
- 14
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.