| Summary: | Two @since tags errors for org.eclipse.core.runtime.compatibility.registry fragment | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Olivier Thomann <Olivier_Thomann> | ||||
| Component: | Runtime | Assignee: | John Arthorne <john.arthorne> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | ob1.eclipse, tjwatson | ||||
| Version: | 3.6 | Flags: | john.arthorne:
review+
|
||||
| Target Milestone: | 3.7 RC1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Olivier Thomann
Tom, Why the @since tags are not pointing to 3.3 as this is the fragment version? 3.5 would refer to the host version. (In reply to comment #1) > Tom, > > Why the @since tags are not pointing to 3.3 as this is the fragment version? > 3.5 would refer to the host version. We found it strange that the API that the fragment replaces (which states @since 3.5) would all of a sudden change to @since 3.3 with the fragment installed. I the correct thing to do would be to increment the compatibility fragment version to match the version of the host for API purposes. In retrospect we should have increased the version of the fragment to 3.5 IMO when the new methods were added this release. (In reply to comment #2) > We found it strange that the API that the fragment replaces (which states > @since 3.5) would all of a sudden change to @since 3.3 with the fragment > installed. I the correct thing to do would be to increment the compatibility > fragment version to match the version of the host for API purposes. In > retrospect we should have increased the version of the fragment to 3.5 IMO when > the new methods were added this release. This would be more consistent. As it stands I don't plan to fix anything from the API tooling point of view. From the fragment point of view, the API was added in 3.3. If you increase the fragment's version to 3.5, then everything is fine again. Should I move this bug to Equinox ? (In reply to comment #3) > Should I move this bug to Equinox ? Actually move it to Eclipse->Platform where the compatibility fragment lives. Move to Platform/UI. The fragment's version should match the host's version so that API addition gets a consistent version. Created attachment 170041 [details]
Proposed fix
I would rather not update the version at this point. Not that I think it is terribly risky, but I don't think this issue is important enough to consider at this point. Olivier's fix looks good. I will release for RC1. Released in HEAD. |