| Summary: | Deprecated method seems to be reported as an API change | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Olivier Thomann <Olivier_Thomann> | ||||
| Component: | API Tools | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | daniel_megert, john.arthorne, kim.moir, Michael_Rennie | ||||
| Version: | 3.6 | Flags: | Michael_Rennie:
review+
|
||||
| Target Milestone: | 3.6 M7 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Olivier Thomann
I found where this delta is collected as an API change. Even if this is not strictly speaking an API change it might still affect the way the API should be used. I can either filter out deprecation changes from the API Freeze report or I can make the label about the delta more verbose. (In reply to comment #1) > I can either filter out deprecation changes from the API Freeze report or I can > make the label about the delta more verbose. I personally don't see it as something that needs to show up in the API freeze report, but it might be useful information for the community. I'll bring this up on the PMC call tomorrow and let you know the consensus. Created attachment 163429 [details]
Proposed fix
This fix completely removes all deprecation changes from API freeze report by ignoring them inside the delta visitor.
The report is the wrong place because it only lists unapproved changes i.e. even API changes don't show up there once approved by the PMC and I don't think the PMC needs to approve deprecating stuff.
Having said that, a separate report of all new deprecated APIs compared to the previous release would be a very good thing: we could then verify that all deprecated APIs are indeed documented in
org.eclipse.platform.doc.isv/porting/3.6/recommended.html
org.eclipse.jdt.doc.isv/porting/3.6/recommended.html
So I'll remove them from the API freeze report. Released for 3.6M7. Michael, please verify. Opened bug 307740 for the new report. Fixed. >Fixed.
I still see the issue in N20100331-2000. When is the fix going "live" to the builder?
(In reply to comment #9) > I still see the issue in N20100331-2000. When is the fix going "live" to the > builder? I suspect the builder picks up new API tools once per milestone. Kim, please correct me if I'm wrong. I suggest we just add a line to the exception file in the meantime. We only use new bundles in the builder once a milestone, or more frequently if we have bug to address in the builder. I have to update the bundles for another bug anyways so this many happen earlier than the next milestone. |