diff options
Diffstat (limited to 'libjava/java/lang/Runtime.java')
-rw-r--r-- | libjava/java/lang/Runtime.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libjava/java/lang/Runtime.java b/libjava/java/lang/Runtime.java index cdba9a3..8e8285c 100644 --- a/libjava/java/lang/Runtime.java +++ b/libjava/java/lang/Runtime.java @@ -1,6 +1,6 @@ // Runtime.java - Runtime class. -/* Copyright (C) 1998, 1999 Cygnus Solutions +/* Copyright (C) 1998, 1999, 2000 Cygnus Solutions This file is part of libgcj. @@ -97,6 +97,12 @@ public class Runtime public native void load (String pathname); public native void loadLibrary (String libname); + // This is a helper function for the ClassLoader which can load + // compiled libraries. Returns true if library (which is just the + // base name -- path searching is done by this function) was loaded, + // false otherwise. + native boolean loadLibraryInternal (String libname); + public native void runFinalization (); // This method is static in JDK 1.1, but isn't listed as static in |