Community
Participate
Working Groups
Eclipse creates wrong markers that say "Quux cannot be resolved to a type". Quux is a class that is defined in a file Bar.java with access level package private. Sample code: ** File Bar.java ** class Quux {} ** File Foo.java ** public class Foo { public static void main(String[] args) { Quux a = new Quux(); } } How to reproduce the failure: 1.) Create the two files Foo.java and Bar.java 2.) Restart Eclipse 3.) Open Foo.java first. There are no errors in the Problems View but the declaration "Quux a =..." has an error marker (actually two). 4.) Open Bar.java 5.) Go to the Foo.java editor 6.) The incorrect error markers have disappeared
*** This bug has been marked as a duplicate of 36032 ***