Summary: | [model][delta] Validation errors do not clear after replacing jar file | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Andrew Mak <makandre> | ||||||||
Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> | ||||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||||
Severity: | normal | ||||||||||
Priority: | P3 | CC: | clg-business, david_audel, jerome_lanneluc, mailmur, markus.kell.r, philippe_mulet, thorsten.waertel | ||||||||
Version: | 3.2.1 | ||||||||||
Target Milestone: | 3.2.2 | ||||||||||
Hardware: | PC | ||||||||||
OS: | Windows 2000 | ||||||||||
Whiteboard: | |||||||||||
Attachments: |
|
Description
Andrew Mak
2006-10-27 16:15:20 EDT
Created attachment 52885 [details]
project to reproduce this problem
To reproduce:
=============
1. Import project into workspace. Open the Test.java file.
2. Comment out the line "import test.before.Foo;" and uncomment "import test.after.Foo;". Save the file. As expected, there is a compilation error (test.after.Foo cannot be resolved).
3. Now copy the new foo.jar from the lib_not_in_classpath folder, and replace the foo.jar in the lib folder.
4. The red Xs in the package-explorer disappears. Also, expanding foo.jar will show the correct test.after.Foo class. There are no entries in the Problems view either.
5. However, in the editor the validation errors are still present. Closing and re-opening Test.java does not help, nor does a clean/re-build.
Reproduced. DeltaProcessor does not generate delta in this case. I'll investigate... Created attachment 53543 [details]
Proposed patch
Philippe, I think it's a good candidate for 3.2.2... *** Bug 163935 has been marked as a duplicate of this bug. *** Created attachment 53548 [details] Proposed patch + completion test Same fix + regression test for duplicate bug 163935 (thanks David for help) Released for 3.3 M4 in HEAD stream. +1 for 3.2.2 Reopen to backport in R3_2_maintenance stream Released for 3.2.2 in R3_2_maintenance stream. Verified for 3.3M4 with I20061212-0010. *** Bug 161631 has been marked as a duplicate of this bug. *** *** Bug 161719 has been marked as a duplicate of this bug. *** Verified for 3.2.2 using build M20070112-1200 *** Bug 174833 has been marked as a duplicate of this bug. *** |