Bug 256404 - Wrong handle identifier for external library folder
Summary: Wrong handle identifier for external library folder
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.5 M4   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-25 05:05 EST by Jerome Lanneluc CLA
Modified: 2008-12-09 05:46 EST (History)
1 user (show)

See Also:


Attachments
Proposed fix and regression test (3.31 KB, patch)
2008-11-25 05:17 EST, 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 Jerome Lanneluc CLA 2008-11-25 05:05:31 EST
I20081119-1600

The handle identifier (IJavaElement#getHandleIdentifier()) of a class file contained in an external library folder contains the path to the external Java project e.g. "=P/\/.org.eclipse.jdt.core.external.folders\/.link1<(X.class".

This makes the identifier non stable (since the name of the link could change.

It should instead contain the full path to the library folder (as for external jars).
Comment 1 Jerome Lanneluc CLA 2008-11-25 05:17:43 EST
Created attachment 118645 [details]
Proposed fix and regression test
Comment 2 Jerome Lanneluc CLA 2008-11-25 09:40:01 EST
Fix and test released for 3.5M4
Comment 3 David Audel CLA 2008-12-09 05:46:50 EST
Verified for 3.5M4 using build I20081208-1800