| Summary: | Compile error in org.eclipse.core.jobs not detected by API tools | ||
|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Olivier Thomann <Olivier_Thomann> |
| Component: | API Tools | Assignee: | Olivier Thomann <Olivier_Thomann> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | ankur_sharma, curtis.windatt.public, remy.suen |
| Version: | 3.7 | ||
| Target Milestone: | 3.7 M7 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
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. |
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.