VMClassLoader.java (getVMClassLoader): New method.
* gnu/gcj/runtime/VMClassLoader.java (getVMClassLoader): New method. (redirect): New static field. * java/lang/ClassLoader.java (getSystemClassLoader): Now native (getVMClassLoader0): Removed. * java/lang/natClassLoader.cc (getVMClassLoader0): Removed. (redirect): Removed. (getSystemClassLoader): Implemented. From-SVN: r30075
This commit is contained in:
@@ -34,13 +34,7 @@ public abstract class ClassLoader {
|
||||
return parent;
|
||||
}
|
||||
|
||||
private static native ClassLoader getVMClassLoader0 ();
|
||||
|
||||
static public ClassLoader getSystemClassLoader () {
|
||||
if (system == null)
|
||||
system = getVMClassLoader0 ();
|
||||
return system;
|
||||
}
|
||||
public static native ClassLoader getSystemClassLoader ();
|
||||
|
||||
/**
|
||||
* Creates a <code>ClassLoader</code> with no parent.
|
||||
|
||||
Reference in New Issue
Block a user