| Summary: | Strange API tooling Error referencing a method (in SAXTransformerFactory) declared in a super class TransformerFactory | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | James Blackburn <jamesblackburn+eclipse> | ||||||
| Component: | API Tools | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | Michael_Rennie, Olivier_Thomann | ||||||
| Version: | 3.7 | Flags: | Michael_Rennie:
review+
|
||||||
| Target Milestone: | 3.7 M5 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux-GTK | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
James Blackburn
(In reply to comment #0) > However I think this may be related to the PDE/API tools I've recently > installed: > PDE/API Tools Environment Descriptions > 1.0.100.v20101028-7C-7BF9JgLWLMBMMAMsLL Could you please give me the exact bundle ids from the installation page ? What version of CDT should I install to reproduce ? Created attachment 186748 [details] configuration attached is my current eclipse configuration. I'm using Eclipse Classic 3.7M4 with PDE API Tools installed from here: http://download.eclipse.org/releases/indigo To see the CDT plugins where this occurs, checkout from: dev.eclipse.org/cvsroot/tools Two plugins (should be sufficient): org.eclipse.cdt/all/org.eclipse.cdt.core org.eclipse.cdt/all/org.eclipse.cdt.ui The error occurs in cdt ui: src/org/eclipse/cdt/internal/ui/wizards/settingswizards/ProjectSettingsExportStrategy.java Reproduced with a simple test case. The problem comes from the fact that I don't do any lookup for static methods while checking the EEs defined for the project. Working on it. In fact the compiler generates the actual receiver type even if the method is static and it is defined in a super class. So we actually need a method lookup when resolving the static method for checking the EEs defined for the bundle. Created attachment 186767 [details]
Proposed fix
Michael, please review. Released for 3.7M5. Michael, please verify. verified in I20110126-0800 |