Bug 17923 - Can't find refs to binary fields
Summary: Can't find refs to binary fields
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 major (vote)
Target Milestone: 2.0 F2   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-27 10:05 EDT by Nick Edgar CLA
Modified: 2002-06-03 11:47 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Edgar CLA 2002-05-27 10:05:43 EDT
Build 20020521

- SWT in binary
- select any field in Display in the Outline view
- References / Workspace
- none found
Comment 1 Erich Gamma CLA 2002-05-27 16:49:25 EDT
I can search for references to fields in the binary JavaCore project. 
Does the indexing depend on the variable attributes in the class file? I 
suspect that the SWT project isn't compiled with variable attributes (SWT 
wasn't compiled with the source file name in earlier builds so they might still 
compile without this option).

If this is the case then we should readme this.
Comment 2 Jerome Lanneluc CLA 2002-05-27 17:27:43 EDT
Actually, this is a problem with the match locator which is being fooled by 
swt.jar not being on the classpath of its project (org.eclipse.swt.win32) but 
on the classpath of org.eclipse.swt.
Comment 3 Jerome Lanneluc CLA 2002-05-28 09:35:07 EDT
Changed handle factory so that it checks that the jar is on the classpath of 
its project. If not, find the first project that has this jar on its classpath.
Comment 4 Kent Johnson CLA 2002-06-03 11:47:20 EDT
Verified.