[8u-dev] backport request: 6571600 JNI use results in UnsatisfiedLinkError looking for libmawt.so

david buck david.buck at oracle.com
Mon Dec 23 20:22:18 UTC 2013


Hi!

This is a request to backport the flowing fix to JDK8.

[ JDK-6571600 JNI use results in UnsatisfiedLinkError looking for 
libmawt.so ]
https://bugs.openjdk.java.net/browse/JDK-657160

The root cause of this issue is a name conflict with JNI_OnLoad provided 
by awt_LoadLibrary.c and code loaded manually by the user (usually their 
own JNI libraries). The fix is to use a different name for calling 
dladdr that is much less likely to conflict with any names used by 
customer code.

The fix is exactly the same in JDK8 as JDK9. I have of course tested the 
fix on JDK8 as well. The JDK9 fix can be found here:

http://hg.openjdk.java.net/jdk9/client/jdk/rev/35dfaa9954c2

I understand that the 8u-dev forest is not yet available. Assuming I get 
approval to backport to 8, I will push my fix to the appropriate 8u-dev 
repository as soon as it is available.

Cheers,
-Buck



More information about the jdk8u-dev mailing list