Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 366626

Summary: Ambiguous method signatures in GCOperationWriter
Product: [RT] RAP Reporter: Ralf Sternberg <rsternberg>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: tbuschto
Version: 1.5   
Target Milestone: 1.5 M5   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Ralf Sternberg CLA 2011-12-13 15:56:32 EST
The class GCOperationWriter overloads the private method addClientOperation with three ambiguous method signatures:
  private void addClientOperation( Object... args )
  private void addClientOperation( String name, float... args )
  private void addClientOperation( String name, String text, float... args )

Some compilers are not able to handle this code, e.g. the built-in compiler in Eclipse 4.2M4.
Comment 1 Tim Buschtoens CLA 2011-12-14 10:09:41 EST
Fixed in CVS HEAD by renaming the method that takes only "Object...".