| Summary: | Lots of new API errors after switching to I20080521-2000 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Dani Megert <daniel_megert> | ||||
| Component: | API Tools | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | darin.eclipse, Michael_Rennie, Olivier_Thomann | ||||
| Version: | 3.4 | Flags: | Olivier_Thomann:
review+
Michael_Rennie: review+ |
||||
| Target Milestone: | 3.4 RC2 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Dani Megert
I only see one error: Missing @since tag on org.eclipse.jface.text.contentassist.ContentAssistant.AutoAssistListener This class moved from default to protected in 3.4 so it is now API and should have a since tag. (Note: I'm using 3.3.2 as a baseline, will try 3.3.1.1) Ah, missed one important step: import all required plug-ins of jface.text as binary projects. With that additional info it is 100% reproducible on my side. I am investigating it. Trying to reproduce first. Did the same steps work fine in previous builds ? Reproduced. Investigating. >Did the same steps work fine in previous builds ?
Yes, if I go back to I20080520-2000 and clean jface.text and rebuild then the errors go away. If I go to latest build clean and rebuild they come back. Note that these steps are done without changing the set of imported plug-ins.
The profile contains twice swt: org.eclipse.swt_3.3.2.v3347 and org.eclipse.swt_3.4.0.v3445b. So they are two problems here: 1) swt should only be there once 2) regardless of which one is selected, both should be able to resolve types in it. Ok, forget point (1). For (2) the problem came from the fact that swt was not considering its fragments when loaded in the workbench. Created attachment 101524 [details] patch Problem is with the way SWT is considered in the workspace. The fix for bug 232958 caused this. When SWT is a project in the workspace, it's class files are in the SWT host project. When SWT is a binary bundle, it's class files are in its platform specific fragment. So, we need to adjust accordingly. +1 for RC2. applied patch verified |