[rfc] Let the classloader search for system libraries, don't hard-code DEFAULT_LIBPATH

Matthias Klose doko at ubuntu.com
Thu Mar 24 07:51:29 PDT 2011


On 24.03.2011 15:41, Alan Bateman wrote:
> Matthias Klose wrote:
>> :
>>
>>> Just wondering if the setup of the
>>> search path (in os::init_system_properties_values would be better place to do
>>> consider this).
>>>     
>>
>> DEFAULT_LIBPATH is only used in os::init_system_properties_values.
>>
>>   
> Right, but it's where the search path is setup and the result becomes the value
> of java.library.path. I might not understand multiarch yet but wouldn't this be
> the place to include the x86_64 or i386 directories to be searched?

yes, if your goal is to limit the scope of this change. Here is what I'm
currently testing (note that /usr/lib/jni is unrelated, required by Debian's
Java Policy).

  Matthias

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: deb-multiarch-hs20.diff
Url: http://mail.openjdk.java.net/pipermail/jdk6-dev/attachments/20110324/497be9ef/attachment-0001.ksh 


More information about the jdk6-dev mailing list