- Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Closed
Copy link
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: bugA general bugA general bug
Milestone
Description
In the course of addressing #29256, we identified a further case of ProxyFactory usage without an explicit target ClassLoader in MvcUriComponentsBuilder, as well as code inspired by the latter in our ResolvableMethod test utilities. Not only do those proxies have to be created in the same ClassLoader as the given user interface type, they also should be created through direct java.lang.reflect.Proxy usage instead of going through the AOP ProxyFactory (aligning with the direct use of CGLIB for non-interface proxies in MvcUriComponentsBuilder, minimizing the invocation overhead and other AOP side effects).
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: bugA general bugA general bug