diff options
author | Jeroen Frijters <jeroen@sumatra.nl> | 2005-07-25 09:34:08 +0000 |
---|---|---|
committer | Jeroen Frijters <jeroen@sumatra.nl> | 2005-07-25 09:34:08 +0000 |
commit | b3c8080b5d9b19ed12775c4bfcf00cfb11a104fb (patch) | |
tree | 6503d0f4c7a651dad32f84ccf32cc42a8f7092bd /vm/reference/java | |
parent | 2d00af4899a68912e425aeeed6a2823f440a97aa (diff) | |
download | classpath-b3c8080b5d9b19ed12775c4bfcf00cfb11a104fb.tar.gz |
*** empty log message ***
Diffstat (limited to 'vm/reference/java')
-rw-r--r-- | vm/reference/java/lang/VMClassLoader.java | 8 |
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); + } } |