Bug 228375 - Invalid import generated by "Organize Imports". Contains '$'
Summary: Invalid import generated by "Organize Imports". Contains '$'
Status: VERIFIED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3.2   Edit
Hardware: PC Windows 2000
: P3 minor (vote)
Target Milestone: 3.4 M7   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-23 07:12 EDT by Xevi Serrats CLA
Modified: 2008-04-28 07:28 EDT (History)
2 users (show)

See Also:


Attachments
JAR file (102.29 KB, application/java-archive)
2008-04-23 07:12 EDT, Xevi Serrats CLA
no flags Details
Screenshot (9.96 KB, image/png)
2008-04-23 07:15 EDT, Xevi Serrats CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xevi Serrats CLA 2008-04-23 07:12:20 EDT
Created attachment 97200 [details]
JAR file

Build ID: Eclipse Europa

Steps To Reproduce:
1.- Import the file xmltypes.jar
2.- Declare a Field of type Report.
3.- Use the "organize Dialog" to localize the package of the Report Class.
4.- Appeats a class $ on the name.

import com.<no_company>.<no_product>.FormsDocument$Forms$Report;

See the screenshot.



More information:
I can send the JAVA code (generated by XMLBeans) or the XSD file. Just ask me.
Comment 1 Xevi Serrats CLA 2008-04-23 07:15:18 EDT
Created attachment 97202 [details]
Screenshot
Comment 2 Jerome Lanneluc CLA 2008-04-24 11:07:23 EDT
I just verified that the proposed types are dot based names with I20080422-0800.
Closing as WORKSFORME.
Comment 3 Jerome Lanneluc CLA 2008-04-28 07:28:16 EDT
Verified for 3.4M7 using I20080427-2000