Bug 181188 - [type wizards] Creating a class that implements an inner interface generates incorrect code
Summary: [type wizards] Creating a class that implements an inner interface generates ...
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.3 M7   Edit
Assignee: Martin Aeschlimann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 182179
Blocks:
  Show dependency tree
 
Reported: 2007-04-05 08:44 EDT by Remy Suen CLA
Modified: 2007-04-17 03:48 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 Remy Suen CLA 2007-04-05 08:44:27 EDT
In 3.3M6, the generated code appears to include $ symbols.

Open up the 'New Class Wizard'.
Type in a name for the class.
Click 'Add' in the interface section and type in 'Entry'.
Select java.util.Map.Entry.
Click 'Finish'.

Generated code:
import java.util.Map$Entry;

public class EntryImp implements Map$Entry {

}

The $ symbol causes the code to not compile out-of-the-box.
Comment 1 Martin Aeschlimann CLA 2007-04-12 13:18:36 EDT
waiting for bug 182179 to be fixed
Comment 2 Martin Aeschlimann CLA 2007-04-17 03:48:39 EDT
fixed > 20070417