Community
Participate
Working Groups
Using Build id: I20050513-1415 To repro: 1. Create a new plugin project 2. Create a new class A in package test with this content: package test; public class A { public void test() { C c = new C(); } } 3. Create a new class B in package test with this content: package test; class C { } public class B { } 4. Save all 5. Close all files except A.java. 6. Shutdown the workbench 7. Start the workbench 8. You will see errors in the editor for A.java: C cannot be resolved to a type (see attachment). 9. Note that there are no problem markers in the package explorer and no problems in the problems view. 10. If you open B.java (which contains class C), the errors shown in A.java go away.
Created attachment 21219 [details] screenshot of editor problem
Know issue with secondary types. Workaround: rename file B.java into C.java.
*** This bug has been marked as a duplicate of 36032 ***