provide default implementation for ClassLoader.reallyFindLoadedClass

This is a non-standard method, so we shouldn't expect subclasses to
implement it.
This commit is contained in:
Joel Dice 2011-01-13 08:57:39 -07:00
parent 0c253c40a2
commit 69dc2026a1

View File

@ -54,7 +54,9 @@ public abstract class ClassLoader {
throw new ClassNotFoundException();
}
protected abstract Class reallyFindLoadedClass(String name);
protected Class reallyFindLoadedClass(String name) {
return null;
}
protected final Class findLoadedClass(String name) {
return reallyFindLoadedClass(name);