NativeScript / NativeScript/android

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

Aperta
#1,442 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@vmutafov ci sta già lavorando.

Dal 8/8/2019.

Lingua principale
C++
Stelle
563
Fork
144
Merge medio
10h 46m
PR unite (30g)
14

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.