Community
Participate
Working Groups
I have two source folders in a project (1. src, 2. test). I removed the second one from Java Build Path > Source for some reason. Now: 1. I open a Java file from that folder (test, which is not a source folder anymore) 2. While that Java file is open, I add test folder as a source folder to the project 3. When pressing OK, some parts of the Java file is marked as error. For example package declaration show this error: The declared package "x.y.z" does not match the expected package "". When I re-open the Java file error is resolved.
*** This bug has been marked as a duplicate of bug 65267 ***