Bug 81875

Summary: [1.5] using vararg methods results in AST creation error
Product: [Eclipse Project] JDT Reporter: Nan Zou <ndzou>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Nan Zou CLA 2004-12-23 15:28:50 EST
Using a method like Arrays.asList(T...), which takes a vararg argument, if I
only have one entry in the argument list, I get a syntax error, if I add an
additional argument, the syntax error disappears, but a Java AST creation error
pops up.

There're some general content assit issues with vararg methods, like
System.out.printf(), resulting in stnatx errors.
Comment 1 Dani Megert CLA 2004-12-29 04:03:19 EST
Which build?
Comment 2 Nan Zou CLA 2004-12-29 12:54:14 EST
Version: 3.1 M3
Comment 3 Olivier Thomann CLA 2004-12-30 15:53:39 EST
Could you please provide a test case and compiler's options? Could you also try
if it occurs in 3.1 M4?
Comment 4 Nan Zou CLA 2005-01-03 14:14:18 EST
Using 3.1M4, the problem is fixed.  Thanks!  I think we can mark this one resolved.
Comment 5 Olivier Thomann CLA 2005-01-03 17:30:39 EST
Reopen to close as WORKSFORME, because no fix was explicitely done for this bug.
Comment 6 Olivier Thomann CLA 2005-01-03 17:30:56 EST
Closed.