Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341228 - Compile error in org.eclipse.core.jobs not detected by API tools
Summary: Compile error in org.eclipse.core.jobs not detected by API tools
Status: RESOLVED INVALID
Alias: None
Product: PDE
Classification: Eclipse Project
Component: API Tools (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 3.7 M7   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-29 09:38 EDT by Olivier Thomann CLA
Modified: 2011-03-29 10:13 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Thomann CLA 2011-03-29 09:38:55 EDT
From N20110328-2000,

1. ERROR in /src/org/eclipse/core/internal/jobs/JobManager.java
 (at line 1463)
} catch (AssertionError e) {
AssertionError cannot be resolved to a type

This bundle has two EEs: CDC-1.0/Foundation-1.0, J2SE-1.3.
None of them defined the type AssertionError. So API Tools should reject that code and reports that this type is not defined in both EEs.
Comment 1 Olivier Thomann CLA 2011-03-29 10:13:20 EDT
Closing as INVALID. EEs have been changed to 1.4 and Foundation 1.1 where the type java.lang.AssertionError is defined.
The bundle didn't set to report invalid references to libraries. If I change the EEs back to Foundation 1.0 and J2SE-1.3, then the invalid reference is properly detected.