Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 372394

Summary: The org.w3c.ranges package is not showing up in the J2SE-1.4 EE description
Product: [Eclipse Project] PDE Reporter: Michael Rennie <Michael_Rennie>
Component: API ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: curtis.windatt.public, daniel_megert, Olivier_Thomann
Version: 3.8   
Target Milestone: 3.8 M6   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Michael Rennie CLA 2012-02-23 14:48:40 EST
Version: 4.2.0
Build id: I20120222-2200

Steps:

1. install / update to the latest EE descriptions
2. get project org.eclipse.wst.html.core from HEAD (CVS) - clean build
3. notice two API tools errors:

Description	Resource	Path	Location	Type
The type Range referenced in org.eclipse.wst.html.core.internal.modelquery.DocumentQuery.getHeadCorrespondentRange(Document) is not defined in the bundle's required execution environment: J2SE-1.4	DocumentQuery.java	/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/modelquery	line 75	API Usage Problem

The org.w3c.ranges package is in the whitelist, and when I tried to re-generate the EE descriptions (in case something went wrong before) I still do not get the org.w3c.ranges package generated.
Comment 1 Michael Rennie CLA 2012-02-23 15:28:55 EST
The problem was that the package does not appear at all in the 1.4.x versions of the Oracle JRE (which I was using to generate the EE descriptions). I switched to use the IBM JRE and all of the white-listed packages / types appear as expected.

I pushed the new 1.4 EE description to: http://git.eclipse.org/c/pde/eclipse.pde.ui.git/commit/?id=35bf35d9392f74fb8fd22fc286e9ede1252289cb

I also double-checked the rest of the EE descriptions and all of the white-listed packages / types appear as expected.