Made CompactObjectInputStream.loadClass() protected just in case a user wants to override it

This commit is contained in:
Trustin Lee 2009-05-15 03:43:19 +00:00
parent b2eea97036
commit 92b336814f

View File

@ -89,7 +89,7 @@ class CompactObjectInputStream extends ObjectInputStream {
}
}
private Class<?> loadClass(String className) throws ClassNotFoundException {
protected Class<?> loadClass(String className) throws ClassNotFoundException {
Class<?> clazz;
ClassLoader classLoader = this.classLoader;
if (classLoader == null) {