Bug 312730 - [plan] [pointcut parsing] Invalid pointcut gets parsed correctly
Summary: [plan] [pointcut parsing] Invalid pointcut gets parsed correctly
Status: NEW
Alias: None
Product: AspectJ
Classification: Tools
Component: Library (show other bugs)
Version: 1.6.8   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-12 18:38 EDT by Oliver Drotbohm CLA
Modified: 2013-06-24 11:05 EDT (History)
1 user (show)

See Also:


Attachments
Testcase (2.92 KB, application/x-zip-compressed)
2010-05-12 18:38 EDT, Oliver Drotbohm CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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