Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 58418

Summary: The Editor gives errors when referencing a non-public class in a different file
Product: [Eclipse Project] JDT Reporter: bitblaster <bitblasters>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: major    
Priority: P3    
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

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 ***