Bug 8359 - Index out of date when replacing a JAR
Summary: Index out of date when replacing a JAR
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P1 normal (vote)
Target Milestone: 2.0 M3   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-24 07:46 EST by Philipe Mulet CLA
Modified: 2002-02-13 09:01 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipe Mulet CLA 2002-01-24 07:46:37 EST
Build 20020122

When upgrading my self-hosted workspace from 0115 to 0122, I ended up replacing 
jdt.jar (using plugin import tool), and once finished - WITHOUT restarting, 
indexes still have references of JavaUIAction which no longer exists.

Testcase: open typde dialog still presents it.

----
We might have optimized too much unnecessary consistency checks...
Comment 1 Jerome Lanneluc CLA 2002-01-30 13:41:47 EST
Fixed by forcing the existing index to be deleted first when a jar is changed.
Comment 2 Jerome Lanneluc CLA 2002-02-13 07:53:13 EST
Reopening as this is not fixed if proj=src=bin.
In this case, the delta is incorrect: it is a non-java resource changed delta. 
As a result, re-indexing is not triggered.
Comment 3 Jerome Lanneluc CLA 2002-02-13 09:01:30 EST
Entered bug 9588 Invalid delta when replacing jar and proj=src=bin.
Closing this one.