Summary: | Checking out JFace and then SWT leads to a strange state | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Boris Bokowski <bokowski> | ||||
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | baumanbr, bokowski, briancort, daniel_megert, darin.eclipse, jerome_lanneluc, pwebster, remy.suen | ||||
Version: | 3.4 | ||||||
Target Milestone: | 3.4 M4 | ||||||
Hardware: | PC | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Boris Bokowski
2007-10-29 21:08:23 EDT
Which build are you using. I just tried these steps on I20071030-0010. The only deviation I made was to use the Package Explorer to change the file name rather than the Navigator view. When I did that, I got 63 warnings in my workspace but not one error. I just reproduced it with I20071030-0010. Took the SDK build for Windows XP, created a new workspace, and followed the steps. Do you want to watch me (screen sharing) reproducing it? Note that the problems are in the editors, not in the problems view. So I guess I shouldn't have said error markers - you get the red rectangles in the bar to the right of the editor, and red Xs to the left of the editor. I followed the steps, and then open ActionContributionItem (or MenuManager). The java editor reports everything SWT as an error, even though there are no errors in the workspace. Mine was on linux-gtk I20071030-0010, so the problem isn't OS dependent. PW I opened an editor on a debug UI class, and all imports in debug.core, jface, and swt were marked with red squiggly's. No errors in the problems view or package explorer. Perhaps this is a Java editor issue? >Perhaps this is a Java editor issue?
Rather a JDT Core reconciler issue then. I'll take a look at this today or tomorrow.
Reproduced with latest, with 3.4M2 and with 3.3. It appears to be a problem in JDT/Core (the project cache might not be reset when the .classpath file is renamed). Moving to JDT/Core for further investigation. Created attachment 84004 [details]
Proposed fix and regression test
Fix and test released for 3.4M4 Verified for 3.4 M4 using build I20071211-0010. *** Bug 216940 has been marked as a duplicate of this bug. *** |