Bug 67665

Summary: [messages] Illegal array-related method signatures should be caught
Product: [Tools] AspectJ Reporter: Erik Hilsdale <eh-ajdev>
Component: CompilerAssignee: Adrian Colyer <adrian.colyer>
Status: NEW --- QA Contact:
Severity: minor    
Priority: P5 CC: aclement
Version: 1.2   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Erik Hilsdale CLA 2004-06-17 12:36:58 EDT
The following pointcuts (and things like them) should be signalled as syntax errors

pointcut Y() : call(*.new[](..));
pointcut X() : call(*[].new(..));
pointcut V() : call(new[](..));

At this point, we might want to consider our treatment of

  Foo[] foos;

  foos.clone();
  foos.length();

as well.

-erik