Re: RFR: 8318737: Fallback linker passes bad JNI handle [v2]

2023-10-26 Thread Alan Bateman
On Wed, 25 Oct 2023 11:16:54 GMT, Jorn Vernee wrote: >> The result of `FindClass` is a local JNI handle (in >> `find_class_from_class_loader`, called from `jni_FindClass` [1]). As such, >> we need to wrap the return value of `FindClass` in a global reference when >> storing it inside

Re: RFR: 8318737: Fallback linker passes bad JNI handle [v2]

2023-10-25 Thread Jorn Vernee
On Wed, 25 Oct 2023 09:32:42 GMT, Aleksey Shipilev wrote: >> Jorn Vernee has updated the pull request incrementally with one additional >> commit since the last revision: >> >> explicitly propagate fallback library init failures > >

Re: RFR: 8318737: Fallback linker passes bad JNI handle [v2]

2023-10-25 Thread Jorn Vernee
> The result of `FindClass` is a local JNI handle (in > `find_class_from_class_loader`, called from `jni_FindClass` [1]). As such, we > need to wrap the return value of `FindClass` in a global reference when > storing it inside fallbackLinker.c. > > While investigating this, I also noticed an