Community
Participate
Working Groups
Steps to reproduce: 1.) Create package p 2.) Create public class MainA 3.) In file MainA.java, create default access class A 4.) In the same package, create public class UserOfA (in new file) 5.) Let UserOfA extend A or 5.) Let UserOfA use A as a type In both these cases the editor flags a problem in the file UserOfA.java. For the package as a whole (package explorer), no problem is flagged. The code can still be run and it seems to be functional. Other observations: i.) having class A in a separate file within the same package works fine ii.) accessing class A from within the file where it is defined works fine
*** This bug has been marked as a duplicate of 36032 ***