Bug 76004 - [1.5] Formatter.format() and PrintStream.printf() show errors.
Summary: [1.5] Formatter.format() and PrintStream.printf() show errors.
Status: RESOLVED DUPLICATE of bug 75720
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 M3   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-10 14:29 EDT by cortexcompiler CLA
Modified: 2004-10-27 10:45 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 cortexcompiler CLA 2004-10-10 14:29:04 EDT
The following methods show errors when entering a single Object (or primitive
type - which compiles) for the second parameter:

public Formatter format(String format,
                        Object... args)
public PrintStream printf(String format,
                          Object... args)
This is commonly used like System.out.printf( "Some int: %d", anInt );

This prevents me from executing code that has these identified errors.
Comment 1 Dirk Baeumer CLA 2004-10-11 05:34:08 EDT
Eclipse compiler doesn't support vargs yet.
Comment 2 Frederic Fusier CLA 2004-10-27 10:45:59 EDT

*** This bug has been marked as a duplicate of 75720 ***