Bug 17923

Summary: Can't find refs to binary fields
Product: [Eclipse Project] JDT Reporter: Nick Edgar <n.a.edgar>
Component: CoreAssignee: Kent Johnson <kent_johnson>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 F2   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

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.