Bug 250083 - [model] Search indexes are not correctly updated
Summary: [model] Search indexes are not correctly updated
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.5 M3   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-08 09:01 EDT by David Audel CLA
Modified: 2009-05-07 03:32 EDT (History)
1 user (show)

See Also:


Attachments
Test case (3.98 KB, text/plain)
2008-10-08 09:03 EDT, David Audel CLA
no flags Details
Proposed fix and regression test (4.42 KB, patch)
2008-10-13 07:39 EDT, Jerome Lanneluc CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Audel CLA 2008-10-08 09:01:02 EDT
When i run two tests that create a jar file with the same name but a different content then if the second test do a search request then this second test see only the jar of the first test.
Comment 1 David Audel CLA 2008-10-08 09:03:19 EDT
Created attachment 114542 [details]
Test case

Add this class in org.eclipse.jdt.core.tests.model project.
If you run these tests then test2() fails but if you remove test1() then test2() does not fail.
Comment 2 Jerome Lanneluc CLA 2008-10-13 07:39:11 EDT
Created attachment 114944 [details]
Proposed fix and regression test
Comment 3 Jerome Lanneluc CLA 2008-10-13 09:53:00 EDT
Fix and test released for 3.5M3
Comment 4 Olivier Thomann CLA 2008-10-27 16:08:45 EDT
Verified for 3.5M3 using I20081026-2000