Cache null classes to improve performance
This commit is contained in:
parent
04c41dc961
commit
1e69a116ba
|
@ -75,6 +75,7 @@ class CachedPackage {
|
|||
return result;
|
||||
|
||||
} catch (ClassNotFoundException e) {
|
||||
setPackageClass(className, null);
|
||||
throw new RuntimeException("Cannot find class " + className, e);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue