Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-dev] avoidFinal weaver options flag

Multiple Xsets have to be merged:

<weaver options="-proceedOnError -nowarn -XaddSerialVersionUID  -Xset:makeTjpFieldsTransient=true,avoidFinal=true”>

Andy

> On Jun 14, 2015, at 4:49 PM, Choudary Kothapalli <choudary.kothapalli@xxxxxxxxx> wrote:
> 
> When I have avoidFinal flag at the end of weaver options as below, it does not seem to have any effect.
> 
> <weaver options="-proceedOnError -nowarn -XaddSerialVersionUID  -Xset:makeTjpFieldsTransient=true -Xset:avoidFinal=true">
> 
> The weaved code is still marked as final as below.
> static final void init$_aroundBody0(Tester tester, JoinPoint joinpoint)
> 
> 
> When I move the flag to the beginning like below, it seems to work. Any thoughts?
> <weaver options="-Xset:avoidFinal=true -proceedOnError -nowarn -XaddSerialVersionUID  -Xset:makeTjpFieldsTransient=true">
> 
> I am using AspectJ Weaver Version 1.8.2.
> 
> Thanks,
> Choudary Kothapalli.
> _______________________________________________
> aspectj-dev mailing list
> aspectj-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/aspectj-dev



Back to the top