Support for pre-generated CGLIB proxy classes (in AOT scenarios)
Includes runtime storing of generated classes to a directory specified by the "cglib.generatedClasses" system property. Avoids lazy CGLIB fast-class generation and replaces generated Enhancer and MethodWrapper key classes with equivalent record types. Introduces support for early type determination in InstantiationStrategy, AopProxy and SmartInstantiationAwareBeanPostProcessor - in order to trigger CGLIB class generation in refreshForAotProcessing (through early determineBeanType calls for bean definitions). Closes gh-28115
This commit is contained in:
@@ -135,6 +135,7 @@ jar {
|
||||
exclude "org/springframework/cglib/core/AsmApi*.class"
|
||||
exclude "org/springframework/cglib/core/KeyFactory.class"
|
||||
exclude "org/springframework/cglib/core/KeyFactory\$*.class"
|
||||
exclude "org/springframework/cglib/core/MethodWrapper*.class"
|
||||
exclude "org/springframework/cglib/core/ReflectUtils*.class"
|
||||
exclude "org/springframework/cglib/proxy/Enhancer*.class"
|
||||
exclude "org/springframework/cglib/proxy/MethodProxy*.class"
|
||||
|
||||
Reference in New Issue
Block a user