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

Bug 253693

Summary: Validate references to system libraries
Product: [Eclipse Project] PDE Reporter: Olivier Thomann <Olivier_Thomann>
Component: API ToolsAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert, darin.eclipse
Version: 3.5Keywords: plan
Target Milestone: 3.5 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 255679    
Bug Blocks:    

Description Olivier Thomann CLA 2008-11-04 08:51:45 EST
Validate references to system library based on EE (J2SE-1.4, etc). A 1.4 project should not reference 1.5/1.6 methods/classes
Comment 1 Olivier Thomann CLA 2008-11-19 13:52:16 EST
Released for 3.5M4.
Darin, please verify.

I could successfully run the api tooling verification ant task and I opened the following bugs:
bug 255811 (core.contenttype),
bug 255814 (core.net),
bug 255815 (org.eclipse.equinox.p2.metadata.repository),
bug 255820 (org.eclipse.equinox.p2.publisher),
bug 255822 (org.eclipse.help),
bug 255829 (org.eclipse.jface),
bug 255836 (org.eclipse.ui.net),
bug 255849 (org.eclipse.ui.workbench).

osgi and swt are not listed as they have some special tricks at compile time that makes the validation inaccurate.

Subsequent issues found with this new features should go into new bug reports.
Comment 2 Darin Wright CLA 2008-11-24 10:03:16 EST
*** Bug 213027 has been marked as a duplicate of this bug. ***
Comment 3 Darin Wright CLA 2008-12-08 11:39:58 EST
Verified.