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

Seán Coffey sean.coffey at oracle.com
Sat Jan 11 18:32:07 UTC 2014

Looks good Buck. Approved for http://hg.openjdk.java.net/jdk8u/jdk8u-dev/
Please add a noreg-* label to the bug report if necessary.


On 23/12/13 20:22, david buck wrote:
> 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