Bug 60922 - restrictions on behavior of classpath containers
Summary: restrictions on behavior of classpath containers
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.0 M9   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-04 12:30 EDT by Jim des Rivieres CLA
Modified: 2004-05-18 15:47 EDT (History)
6 users (show)

See Also:


Attachments
patch to improve specs (4.62 KB, patch)
2004-05-04 17:08 EDT, Jim des Rivieres CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jim des Rivieres CLA 2004-05-04 12:30:37 EDT
The specs for classpath container initializers (subclasses of 
ClasspathContainerInitializer) and classpath containers (implementations of 
IClasspathContainer) should spell out the restricted subset of the JDT Core 
APIs that can be safely used.
Comment 1 Jim des Rivieres CLA 2004-05-04 17:08:25 EDT
Created attachment 10269 [details]
patch to improve specs

Philippe, Please review (especially the list of APIs that it's ok for client to
use).
Comment 2 Philipe Mulet CLA 2004-05-05 09:27:04 EDT
We should still add some protection, see bug 61040.
Comment 3 Philipe Mulet CLA 2004-05-05 09:30:59 EDT
Looks good to me; especially the *unspecified* behavior for other cases.
Comment 4 Jim des Rivieres CLA 2004-05-05 11:17:15 EDT
Thanks.  I've released.
Comment 5 Olivier Thomann CLA 2004-05-18 15:47:37 EDT
Verified in 200405180816.
The javadoc in the patch is invalid (missing end of inline tag).
Open bug 62769 to address this issue.