Bug 148195 - [organize imports] creates '$' in import statement
Summary: [organize imports] creates '$' in import statement
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on: 148243
Blocks:
  Show dependency tree
 
Reported: 2006-06-22 07:45 EDT by Volker Renneberg CLA
Modified: 2009-08-30 02:07 EDT (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 Volker Renneberg CLA 2006-06-22 07:45:00 EDT
Hi!

In Eclipse 3.2 RC7 (JDK 1.5.0_07) it seems, that reorganizing imports somehow does something wrong when creating import for inner classes. I generated a .jar-file with all JAXB-generated classes (from an XML Schema) and put it into the classpath. Resolving the used classes via "organize imports" leads to the following import statement

import sortiedata.TargetType$TargetInformationType.TargetCircleType;

where TargetType is a class with TargetInformationType an inner class of TargetType and TargetCircleType an inner class of 
TargetInformationType. Such behaviour has not occurred to me, yet.

The .jar-file does not contain the source files.
Comment 1 Philipe Mulet CLA 2006-06-22 09:05:45 EDT
Organize imports belong to UI
Comment 2 Martin Aeschlimann CLA 2006-06-22 12:20:21 EDT
reason is bug 148243 in jdt.core
Comment 3 Denis Roy CLA 2009-08-30 02:07:23 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.