Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 347677

Summary: option to make generated helper methods non final so proxying possible
Product: [Tools] AspectJ Reporter: Andrew Clement <aclement>
Component: CompilerAssignee: aspectj inbox <aspectj-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 1.6.11   
Target Milestone: 1.6.12   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Andrew Clement CLA 2011-05-30 12:05:16 EDT
Raised on the mailing list by Cosmin Vacaroiu.

org.jboss.weld.exceptions.UnproxyableResolutionException: WELD-001437 Normal scoped bean class myPackageName.myClassName is not proxyable because the type is final or it contains a final method static final java.lang.String myPackageName.myClassName.myMethodName_aroundBody0(myPackageName.myClassName.,org.aspectj.lang.JoinPoint).

We could provide an option so the aroundBody/etc are non final, enabling proxying.
Comment 1 Andrew Clement CLA 2011-06-17 18:28:28 EDT
-Xset:avoidFinal=true

is the new option to do this.