Bug 104024 - combining varargs and inner classes crashes the parser
Summary: combining varargs and inner classes crashes the parser
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: DEVELOPMENT   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 1.5.0 M4   Edit
Assignee: Adrian Colyer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-15 11:16 EDT by Samuel Gélineau CLA
Modified: 2005-08-31 10:15 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Gélineau CLA 2005-07-15 11:16:07 EDT
class Outer {
  public class Inner {}
}


public class Bug {
  public void varargs(Object... varargs) {}

  public void test() {
    Outer.Inner inner = new Outer().new Inner();
    varargs(inner); // works
    varargs(new Outer().new Inner()); // crashes
  }
}
Comment 1 Adrian Colyer CLA 2005-08-26 11:37:18 EDT
for M4
Comment 2 Adrian Colyer CLA 2005-08-31 10:15:55 EDT
This is fixed with the latest builds of the compiler (and quite probably in M3 too).