<AWT Dev> review request: JNI use results in UnsatisfiedLinkError looking for libmawt.so

Anthony Petrov anthony.petrov at oracle.com
Mon Dec 23 11:05:07 PST 2013


Hi David,

The fix looks fine to me as well.

--
best regards,
Anthony

On 12/23/2013 06:41 PM, david buck wrote:
> Hi Sergey!
>
> Thank you for looking at this fix. Yes, I can reproduce the issue at
> will and have confirmed that this change resolves the problem on both
> Linux and Solaris.
>
> Cheers,
> -Buck
>
> (2013/12/23 23:35), Sergey Bylokhov wrote:
>> 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
>>
>>


More information about the awt-dev mailing list