<AWT Dev> review request: JNI use results in UnsatisfiedLinkError looking for libmawt.so
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Mon Dec 23 06:35:51 PST 2013
Hi, David.
The fix looks good to me. I assume that it was tested in the environment
where the problem was reproduced.
On 23.12.2013 16:21, david buck wrote:
> Hi!
>
> I would like to please request a review of my fix for the following
> issue:
>
> [ 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.
>
> http://cr.openjdk.java.net/~dbuck/6571600/webrev.01/
>
> Best Regards,
> -Buck
--
Best regards, Sergey.
More information about the awt-dev
mailing list