Community
Participate
Working Groups
This occurs in 3.1M3. The following code produces a dialog that pops up, saying: An internal error occurrerd during "Java AST creation" public class GenericVarargsTest { public <T> T first(T... args) { return args[0]; } public void main(String[] args) { System.out.println(first("A", "List")); } }
Added regression test: GenericTypeTest#test412 *** This bug has been marked as a duplicate of 77422 ***
Verified in N20041112. Keep up the good work!
Thanks for your congratulations :-) ... but do not modify bug status, this is done by JDT/Core member team while validating milestone.
*** This bug has been marked as a duplicate of 77422 ***
Reopening, this issue is still not addressed. Dup bug got fixed when at least one argument is provided. In this scenario no argument got supplied, and other fix doesn't suffice.
Oops, wrong comment. Re-Closing. *** This bug has been marked as a duplicate of 77422 ***