Bug 51709 - Bad package name error doesn't disapear when problem is solved.
Summary: Bad package name error doesn't disapear when problem is solved.
Status: RESOLVED DUPLICATE of bug 65267
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-11 13:28 EST by Luc Bourlier CLA
Modified: 2004-07-20 03:05 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luc Bourlier CLA 2004-02-11 13:28:48 EST
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.
Comment 1 Dani Megert CLA 2004-02-12 12:00:47 EST
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.
Comment 2 Frederic Fusier CLA 2004-06-22 06:58:32 EDT
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
Comment 3 Dani Megert CLA 2004-07-20 03:05:57 EDT

*** This bug has been marked as a duplicate of 65267 ***