Cache null classes to improve performance

This commit is contained in:
Dan Mulloy 2016-07-26 20:02:41 -04:00
parent 04c41dc961
commit 1e69a116ba
1 changed files with 1 additions and 0 deletions

View File

@ -75,6 +75,7 @@ class CachedPackage {
return result;
} catch (ClassNotFoundException e) {
setPackageClass(className, null);
throw new RuntimeException("Cannot find class " + className, e);
}
}