Community
Participate
Working Groups
Currently, no errors is issued when you use a pointcut expression such as target(java.util.List+). Per AspectJ language specification, these pointcuts take a Type or Id, so a TypePattern with a '+' should be flagged as error (the + is redundant in any case).
I'm concerned that if I make this an error then users code that used to work fine, and will continue to work fine, will now fail to compile. I'm leaning to a warning, maybe even an xlint to advise them of it being unnecessary to include the '+'. I just added the warning and 6 AspectJ tests triggered it (old ones)...
I think issuing an xlint warning is a good idea.
unsetting the target field which is currently set for something already released