
Previously, AopAutoConfiguration would only enable CGLib-based proxies if aspectjweaver was on the classpath. The intention was for CGLib-based proxies to always be used by default so this behaviour was incorrect. This commit updates AopAutoConfiguration to force the use of CGLib-based proxies even in the absence of aspectjweaver. Closes gh-18523