Bug 81875 - [1.5] using vararg methods results in AST creation error
Summary: [1.5] using vararg methods results in AST creation error
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M5   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-23 15:28 EST by Nan Zou CLA
Modified: 2005-01-03 17:30 EST (History)
0 users

See Also:


Attachments

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