Bug 28328 - unable compile class with the same name as in JDK
Summary: unable compile class with the same name as in JDK
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.1 M4   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-14 11:00 EST by Florian Rickert CLA
Modified: 2003-03-23 12:37 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Rickert CLA 2002-12-14 11:00:15 EST
The structure I have is this:
package fem
class fem.NodeSet
another package geometry
another class geometry.Cone

Now I'ld like to use the class fem.NodeSet in geometry.Cone
First the import statement reports an error: "NodeSet is an invisible package"
After removing the "org"-packages at "Preferences > Java > Orangize Imports" the
import works but everywhere I use NodeSet in the class Cone still a compiler
error ("NodeSet cannot be resolved ...") is reported.
Comment 1 Florian Rickert CLA 2002-12-14 11:35:41 EST
sorry it was a kind of wrong usage.

But a help for the compiler-errors should be add! (To avoid this in the future.)