Skip to content

ObjenesisCglibAopProxy's fallback mode triggers duplicate class definition error [SPR-13131] #17722

@spring-projects-issues

Description

@spring-projects-issues

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:

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions