Bug 22571 - Duplicate container resolution
Summary: Duplicate container resolution
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0.1   Edit
Assignee: Darin Wright CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-20 09:12 EDT by Darin Wright CLA
Modified: 2002-08-20 09:46 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 Darin Wright CLA 2002-08-20 09:12:27 EDT
Currently, the JDT launching support considers "container" entries on the 
classpath to be duplicates if their ID (first segment) matches. However, this 
has turned out to be "too agressive" for WSDD, as WSDD has one container ID 
that maps to many different libraries. The result is that we remove entries 
from the runtime classpath, which are required.

The proposed solution is to define a new interface which identifies 
duplicate/redundant entires on the classpath explicitly. The interface, when 
implemented by the associated IClasspathContainer, will be queried to determine 
if it is a duplicate of an existing entry. 

When a container does not implement this interface, the existing algorithm will 
be used (i.e. equal IDs indicates duplicates). This addition does not change 
any existing implementations (as the old behavior remains the same).
Comment 1 Darin Wright CLA 2002-08-20 09:21:25 EDT
marking as 2.0.1 candidate
Comment 2 Darin Wright CLA 2002-08-20 09:46:11 EDT
Fix released to 2.0.1 and HEAD streams
Comment 3 Darin Wright CLA 2002-08-20 09:46:20 EDT
Verified.