Bug 58418 - The Editor gives errors when referencing a non-public class in a different file
Summary: The Editor gives errors when referencing a non-public class in a different file
Status: RESOLVED DUPLICATE of bug 36032
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-14 03:31 EDT by bitblaster CLA
Modified: 2004-05-10 05:11 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 bitblaster CLA 2004-04-14 03:31:41 EDT
In the same package, if you put more than one class in a .java file, 
referencing one of the non-public classes from another file of the same 
package, the editor underlines all the references to the class.
The compiler instead compiles with no error.
There is a workaround for this bug, you can go in the Project Preferences, then 
in the Libraries tab of the Java Build Path section and add a new "Dummy" 
folder by adding a Class Folder and creating a new folder (for example 
named "Dummy") linked to the output folder in the file system.
Comment 1 Philipe Mulet CLA 2004-05-10 05:11:52 EDT

*** This bug has been marked as a duplicate of 36032 ***