Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366626 - Ambiguous method signatures in GCOperationWriter
Summary: Ambiguous method signatures in GCOperationWriter
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.5   Edit
Hardware: PC Linux
: P1 normal (vote)
Target Milestone: 1.5 M5   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-13 15:56 EST by Ralf Sternberg CLA
Modified: 2011-12-14 10:09 EST (History)
1 user (show)

See Also:


Attachments

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