summaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
authorJeroen Frijters <jeroen@sumatra.nl>2005-07-25 09:34:08 +0000
committerJeroen Frijters <jeroen@sumatra.nl>2005-07-25 09:34:08 +0000
commitb3c8080b5d9b19ed12775c4bfcf00cfb11a104fb (patch)
tree6503d0f4c7a651dad32f84ccf32cc42a8f7092bd /vm
parent2d00af4899a68912e425aeeed6a2823f440a97aa (diff)
downloadclasspath-b3c8080b5d9b19ed12775c4bfcf00cfb11a104fb.tar.gz
*** empty log message ***
Diffstat (limited to 'vm')
-rw-r--r--vm/reference/java/lang/VMClassLoader.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/vm/reference/java/lang/VMClassLoader.java b/vm/reference/java/lang/VMClassLoader.java
index c62f0a4d9..49dd36ec5 100644
--- a/vm/reference/java/lang/VMClassLoader.java
+++ b/vm/reference/java/lang/VMClassLoader.java
@@ -282,4 +282,12 @@ final class VMClassLoader
{
return ClassLoader.defaultGetSystemClassLoader();
}
+
+ /**
+ * If the VM wants to keep its own cache, this method can be replaced.
+ */
+ static Class findLoadedClass(ClassLoader cl, String name)
+ {
+ return (Class) cl.loadedClasses.get(name);
+ }
}