[openjfx11][RFR] 8196968: One time crash on exit in JNIEnv_::CallObjectMethod
arunprasad.rajkumar at oracle.com
Tue Jul 24 11:20:59 UTC 2018
Please review the following fix,
From the crash log, I could see that WebCore image decoder is trying to call the Java method(through JNI) after detaching from main thread. This leads to null JNIEnv pointer, which causes the crash.
Add a null check before accessing the JNIEnv pointer.
(Note: I couldn’t reproduce the crash in my dev machine)
More information about the openjfx-dev