Patch for java.library.path loadLibrary() bug

Mark Wielaard mark@klomp.org
Sat Oct 30 23:25:00 GMT 2004


Hi,

This is a fix for [Bug libgcj/18234] System property java.library.path
doesn't get used by System.loadLibrary(). We were calling tl_dlinit() in
init() after we called lt_dlsetsearchpath() in insertSystemProperties().
This makes sure init() is called before insertSystemProperties().

2004-10-30  Mark Wielaard  <mark@klomp.org>

        PR libgcj/18234
        * java/lang/Runtime.java (static): Call init().
        (Runtime): Remove call to init().
        (init): Make static.

OK to commit?

Cheers,

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Runtime.patch
Type: text/x-patch
Size: 973 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20041030/e8f4a774/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20041030/e8f4a774/attachment.sig>


More information about the Java-patches mailing list