-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: bugA general bugA general bug
Milestone
Description
Tobias Gesellchen opened SPR-13131 and commented
With #15223 CGLIB has been replaced by Objenesis without the ability to configure CGLIB as proxy factory.
We would like to use CGLIB proxying in a GAE environment, where Objenesis isn't allowed. We didn't find the org.springframework.aop.framework.DefaultAopProxyFactory to be configurable for our needs, where the ObjenesisCglibAopProxy instantiation is hard coded.
Would it be possible to allow the org.springframework.aop.framework.CglibAopProxy to be configured as default proxy factory?
Affects: 4.1.6
Issue Links:
- java.lang.VerifyError: $$EnhancerBySpringCGLIB$$744256ce, method: <init> signature: ()V) Illegal type in constant pool [SPR-13098] #17689 java.lang.VerifyError: $$EnhancerBySpringCGLIB$$744256ce, method: signature: ()V) Illegal type in constant pool
- Add ability to create proxy around classes that has no default constructor [SPR-10594] #15223 Add ability to create proxy around classes that has no default constructor
- ProxyFactory should not discard objenesis cache, thereby enabling efficient proxy instantiation [SPR-12755] #17352 ProxyFactory should not discard objenesis cache, thereby enabling efficient proxy instantiation
- Automated smoke test for GAE compatibility [SPR-13830] #18403 Automated smoke test for GAE compatibility
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: bugA general bugA general bug