Bug 76004

Summary: [1.5] Formatter.format() and PrintStream.printf() show errors.
Product: [Eclipse Project] JDT Reporter: cortexcompiler
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 M3   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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 ***