[8u-dev] backport request: 6571600 JNI use results in UnsatisfiedLinkError looking for libmawt.so
david.buck at oracle.com
Mon Dec 23 20:22:18 UTC 2013
This is a request to backport the flowing fix to JDK8.
[ JDK-6571600 JNI use results in UnsatisfiedLinkError looking for
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
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:
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.
More information about the jdk8u-dev