Bug 3425 - JavaCore.create(String handle) looses information (1GLA0QG)
Summary: JavaCore.create(String handle) looses information (1GLA0QG)
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: All Windows NT
: P2 normal (vote)
Target Milestone: 2.0 M1   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 22:54 EDT by Dani Megert CLA
Modified: 2002-01-11 09:22 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2001-10-10 22:54:54 EDT
If a binary match in an internal JAR (i.e. one that is part of the project
	itself - e.g. xerces.jar in org.appache.xerces) is recreated via its handle,
	then the resource of its package fragment root gets lost and hence also	
	the information if it is external (isExternal()).

	Test Case: on a binary member from an internal JAR execute:
		JavaCore.create(myBinaryMember.getHandleIdentifier());

	See (fixed) PR 1GL2QJ6: ITPJUI:WIN2000 - Search results print incorrectly when found in jar and sorting by path
	To see the effect of the PR search for SWTError and sort by path
	==> shows up as \<project>\swt.jar instead of <project>/swt.jar


NOTES:
Comment 1 Philipe Mulet CLA 2001-10-12 09:29:26 EDT
Would be difficult to specify for variable entries, depending on the mapping it 
could either be internal or external.

But for other entries this would be a good addition.
Comment 2 DJ Houghton CLA 2001-10-29 17:13:14 EST
PRODUCT VERSION:
	0.203


Comment 3 Philipe Mulet CLA 2001-11-27 03:19:54 EST
Closing. The resulting root will know if it is internal/external. 
Comment 4 Dani Megert CLA 2001-12-04 03:17:25 EST
What does "The resulting root _will_ know if it is internal/external." mean?
- does it actually mean that the bug will be fixed?
- currently (build 20011127) the described problem still exists