Community
Participate
Working Groups
Version: 3.0.2 Build id: 200503110845 If an private class is defined in one file, then that files needs to be open in the editor or the red error markers on the source editor scroll bar show error mark in any file in the same package that references the private class. The classes still compile correctly, but if one is opened in the source editor without also opening the file with the private class, then the marks appear (as well as the red "x" to access the "quick fix" context menu. To reproduce, in first file Foo.java package mypackage; public class Foo{ } class FooBar{ } In second file, Bar.java package mypackage; public class Bar{ FooBar fb; } Now close Foo.java. Bar.java shows errors along the scroll bar.
Moving to JDT/Core first since the markers are generated in reconcile.
*** This bug has been marked as a duplicate of 120350 ***