Hi,

Please review the following fix,

JBS: https://bugs.openjdk.java.net/browse/JDK-8196968

webrev: http://cr.openjdk.java.net/~arajkumar/8196968/webrev

Root cause:
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.

Proposed Solution:
Add a null check before accessing the JNIEnv pointer.

(Note: I couldn’t reproduce the crash in my dev machine)

Thanks,
Arun


Reply via email to