Added FIXME

This commit is contained in:
Trustin Lee 2011-06-29 12:30:47 +09:00
parent 45a7692f07
commit 0062cb743c

View File

@ -78,11 +78,13 @@ class CompactObjectInputStream extends ObjectInputStream {
try {
return loadClass(className);
} catch (ClassNotFoundException ex) {
// FIXME Cache the result to avoid the cost of ClassNotFoundException.
return super.resolveClass(desc);
}
}
protected Class<?> loadClass(String className) throws ClassNotFoundException {
// FIXME Cache the result to avoid the cost of loading classes.
Class<?> clazz;
ClassLoader classLoader = this.classLoader;
if (classLoader == null) {