Bug 211872 - [search] References to annotations not found in class file without source
Summary: [search] References to annotations not found in class file without source
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M4   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-04 07:52 EST by Frederic Fusier CLA
Modified: 2007-12-11 12:39 EST (History)
1 user (show)

See Also:


Attachments
Test project (2.24 KB, application/octet-stream)
2007-12-04 07:52 EST, Frederic Fusier CLA
no flags Details
Proposed patch + jar files for tests (5.07 KB, application/octet-stream)
2007-12-04 17:38 EST, Frederic Fusier CLA
no flags Details
New proposed patch (6.42 KB, patch)
2007-12-05 07:05 EST, Frederic Fusier CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frederic Fusier CLA 2007-12-04 07:52:00 EST
Created attachment 84409 [details]
Test project 

Follow-up of bug 211366.

Search Engine still fails to find annotations references in some circumstances.
Import the attached test project in a workspace and try to find references to the 'Bug' annotation in the project. Only one reference is found in TestMembers although three should have been found.
Comment 1 Frederic Fusier CLA 2007-12-04 17:38:16 EST
Created attachment 84466 [details]
Proposed patch + jar files for tests
Comment 2 Frederic Fusier CLA 2007-12-05 07:05:00 EST
Created attachment 84512 [details]
New proposed patch

Clean previous patch by removing commented code and a better name for the added field on PossibleMatch class: similarMatch instead of innerMatch which was misleading...

Jar files for tests were unchanged, so I didn't put them again in the attached file.
Comment 3 Frederic Fusier CLA 2007-12-05 07:39:48 EST
Released for 3.4M4 in HEAD stream.
Comment 4 Jerome Lanneluc CLA 2007-12-11 12:39:58 EST
Verified for 3.4M4 using I20071211-0010