gcj/150: System.loadLibrary() semantics arn't the same as in the JDK
bryce@albatross.co.nz
bryce@albatross.co.nz
Mon Feb 14 22:30:00 GMT 2000
>Number: 150
>Category: gcj
>Synopsis: System.loadLibrary() semantics arn't the same as in the JDK
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apbianco
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Feb 14 22:30:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: Bryce McKinlay
>Release: unknown-1.0
>Organization:
>Environment:
Redhat Linux 6.1
>Description:
libgcj doesn't look for the same shared library name that
the JDK does.
Given the code:
System.loadLibrary("Native_JNI");
libgcj/ltdl will search for "Native_JNI.so", whereas the
JDK will look for "libNative_JNI.so"
>How-To-Repeat:
>Fix:
Either natRuntime.cc or ltdl. Ideally it should look for
both forms.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Java-prs
mailing list