I'm currently playing with a ConcurrencyDetectionAspect and I would like to create a pointcut expression for reads/writes on non final fields on a specific package (and all subpackages).
This doesn't work:
get(* !final org.apache.catalina..*)||set(* !final org.apache.catalina..*)
but this does:
get(* org.apache.catalina..*)||set(* org.apache.catalina..*)
So something is wrong with the !final part.
Is anybody able to solve this problem?


Reply With Quote