Bug 264488 - [reconciling] False error when a Java file is added to (source) build path
Summary: [reconciling] False error when a Java file is added to (source) build path
Status: RESOLVED DUPLICATE of bug 65267
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.4.1   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-11 04:35 EST by Mohsen Saboorian CLA
Modified: 2009-02-11 04:58 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mohsen Saboorian CLA 2009-02-11 04:35:53 EST
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.
Comment 1 Dani Megert CLA 2009-02-11 04:58:43 EST

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