NativeScript / NativeScript/android

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

Open
#1,442 0 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.