Bug 347677 - option to make generated helper methods non final so proxying possible
Summary: option to make generated helper methods non final so proxying possible
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: 1.6.11   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: 1.6.12   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-30 12:05 EDT by Andrew Clement CLA
Modified: 2011-06-17 18:28 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.