Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 312730

Summary: [plan] [pointcut parsing] Invalid pointcut gets parsed correctly
Product: [Tools] AspectJ Reporter: Oliver Drotbohm <odrotbohm>
Component: LibraryAssignee: aspectj inbox <aspectj-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: aclement
Version: 1.6.8   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Testcase none

Description Oliver Drotbohm CLA 2010-05-12 18:38:04 EDT
Created attachment 168296 [details]
Testcase

As discovered in https://jira.springsource.org/browse/SPR-7186 the pointcut execution(* Foo+.bar(..)) && args(param<java.util.List<MySpecialType>>) is invalid but gets parsed correctly.

See attached testcase. It's green although it should not be.
Comment 1 Andrew Clement CLA 2010-05-24 21:08:33 EDT
likely just needs a check to prevent usage of generics anglies in args pointcut (and probably other runtime matching pointcuts too: this/target, maybe @annotation?)
Comment 2 Andrew Clement CLA 2013-06-24 11:05:39 EDT
unsetting the target field which is currently set for something already released