Community
Participate
Working Groups
1. Create project with the following structure : /Test /src /com 2. Setup the project such as /test is the Java source & bin folder 3. Create Test.java in /Test/src/com with the following code, and keep its editor opened : package com; public class Test { } Eclipse should display an error on the 'package com;' line, "The declared package does not match the expected package src.com" 4. Modify the project setup such as /Test/src is the Java source folder and /Test/bin is the bin folder. The error is no more displayed in the problems view, but the error marker is still visible in the editor ruler.
We reconcile the CU when the editor gets focus and there the problem gets reported. Note: the other way around works i.e. if I introduce the error by removing "src" it gets correctly reported.
Dani, I move back this bug to JDT/text as it seems to be the same case than bug 65267. Can you confirm and set this bug as a duplicate... Thanks
*** This bug has been marked as a duplicate of 65267 ***