Commit 5dc8952e by Mark Wielaard Committed by Mark Wielaard

re PR libgcj/18234 (System property java.library.path doesn't get used by System.loadLibrary())

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

From-SVN: r89902
parent 0ef2c525
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.
2004-10-28 David Daney <ddaney@avtrex.com> 2004-10-28 David Daney <ddaney@avtrex.com>
* gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file. * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
......
...@@ -111,6 +111,7 @@ public class Runtime ...@@ -111,6 +111,7 @@ public class Runtime
static static
{ {
init();
insertSystemProperties(defaultProperties); insertSystemProperties(defaultProperties);
} }
...@@ -151,7 +152,6 @@ public class Runtime ...@@ -151,7 +152,6 @@ public class Runtime
// work. // work.
libpath = new String[0]; libpath = new String[0];
init ();
} }
/** /**
...@@ -709,10 +709,10 @@ public class Runtime ...@@ -709,10 +709,10 @@ public class Runtime
native boolean loadLibraryInternal(String libname); native boolean loadLibraryInternal(String libname);
/** /**
* A helper for the constructor which does some internal native * A helper for Runtime static initializer which does some internal native
* initialization. * initialization.
*/ */
private native void init (); private static native void init ();
/** /**
* Map a system-independent "short name" to the full file name, and append * Map a system-independent "short name" to the full file name, and append
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment