Upgrade to CGLIB 3.2.10
Includes upgrade to JarJar 1.7.2 and Tomcat 9.0.14. Issue: SPR-17595
This commit is contained in:
@@ -40,6 +40,10 @@ abstract public class AbstractClassGenerator<T> implements ClassGenerator {
|
||||
|
||||
private static volatile Map<ClassLoader, ClassLoaderData> CACHE = new WeakHashMap<ClassLoader, ClassLoaderData>();
|
||||
|
||||
private static final boolean DEFAULT_USE_CACHE =
|
||||
Boolean.parseBoolean(System.getProperty("cglib.useCache", "true"));
|
||||
|
||||
|
||||
private GeneratorStrategy strategy = DefaultGeneratorStrategy.INSTANCE;
|
||||
|
||||
private NamingPolicy namingPolicy = DefaultNamingPolicy.INSTANCE;
|
||||
@@ -54,7 +58,7 @@ abstract public class AbstractClassGenerator<T> implements ClassGenerator {
|
||||
|
||||
private Object key;
|
||||
|
||||
private boolean useCache = true;
|
||||
private boolean useCache = DEFAULT_USE_CACHE;
|
||||
|
||||
private String className;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user