summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/vm/reference/java/lang/VMClassLoader.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/vm/reference/java/lang/VMClassLoader.java')
-rw-r--r--libjava/classpath/vm/reference/java/lang/VMClassLoader.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/libjava/classpath/vm/reference/java/lang/VMClassLoader.java b/libjava/classpath/vm/reference/java/lang/VMClassLoader.java
index c62f0a4d98e..4fe12403622 100644
--- a/libjava/classpath/vm/reference/java/lang/VMClassLoader.java
+++ b/libjava/classpath/vm/reference/java/lang/VMClassLoader.java
@@ -282,4 +282,11 @@ final class VMClassLoader
{
return ClassLoader.defaultGetSystemClassLoader();
}
+
+ /**
+ * Find the class if this class loader previously defined this class
+ * or if this class loader has been recorded as the initiating class loader
+ * for this class.
+ */
+ static native Class findLoadedClass(ClassLoader cl, String name);
}
OpenPOWER on IntegriCloud