Community
Participate
Working Groups
I get this error when using AspectJ and CDI. 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). This is because AspectJ somehow adds a final method in my class. Andy suggested to add the option to make them non-final (a compile time flag). Thanks
new option committed. -Xset:avoidFinal=true - this will avoid making the around advice infra methods final. Should be in a dev build in the next day or so.