| Summary: | [disassembly] add dsf/debug/internal/provisional/service/IInstructionWithSize.java for 7.0.2 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Kirk Beitz <kirk.beitz> | ||||
| Component: | cdt-debug-dsf | Assignee: | Anton Leherbauer <aleherb+eclipse> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Pawel Piech <pawel.1.piech> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | aleherb+eclipse, ken.ryall, pawel.1.piech | ||||
| Version: | 7.0.1 | ||||||
| Target Milestone: | 7.0.2 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Kirk Beitz
I have committed the patch to cdt_7_0 with a few changes: - plugin version incremented to 2.1.1 (instead of 2.2) - marked new provisional package as internal I omitted the EDC part. The patch included also the changes for bug 324507, which I will update accordingly. (In reply to comment #1) > I have committed the patch to cdt_7_0 with a few changes: > - plugin version incremented to 2.1.1 (instead of 2.2) > - marked new provisional package as internal > > I omitted the EDC part. > > The patch included also the changes for bug 324507, which I will update > accordingly. given that marking the provisional package internal makes dealing with the EDC part that much more of a pain (the only fix is apparently adding API filters) … and given that, for the change you committed to HEAD for using AbstractInstruction … you stated: > API breakage is avoided using an extension interface (IInstructionWithSize) > similar to the solution on the maintenance branch, but this time as public API. would it be possible to commit this same set of changes to cdt_7_0 for 7.0.2 as well in place of what's been committed thus far? that would also put cdt_7_0 and HEAD in lock-step with regard to this change: good for anyone other than EDC who wants to have an IInstruction/IInstructionWithSize/AbstractInstruction solution that is supported on both branches. at the very least, you'd be helping us out: it would certainly be by far cleaner for us to be able to simply mirror the branch without special problem-filters for things to build. thanks. Sorry, API additions would also be flagged as a problem by API tooling. A provisional interface is the appropriate approach here. We can add the relevant EDC plug-in as a "friend", if you want to get rid of the warning. (In reply to comment #3) > Sorry, API additions would also be flagged as a problem by API tooling. A > provisional interface is the appropriate approach here. We can add the > relevant EDC plug-in as a "friend", if you want to get rid of the warning. yeah, i should have realized this was going to happen; i was probably blinded by the glimmer of hope of having the same code on both branches. adding ";x-friends="org.eclipse.cdt.debug.edc" to MANIFEST.MF would help; from a warning standpoint, we were designing this this way, so the warning seems like noise. and having the "x-friends" marker in the MANIFEST would make it clear what the provisional interface was intended for. thanks. I added "org.eclipse.cdt.debug.edc" as friend, but I got a new error about "EDCInstruction implements a non-API interface". I guess the only workaround is to filter this problem. (In reply to comment #5) > I added "org.eclipse.cdt.debug.edc" as friend, but I got a new error about > "EDCInstruction implements a non-API interface". I guess the only workaround > is to filter this problem. yes, understood. my plan EDCInstruction.java was actually to change the API Errors/Warnings for just this one plug-in to leave that particular errror as a warning, rather than the api filter. i'll run that by ken, and we'll figure out what seems best. i still think the friend tag in the manifest is appropriate in terms of intent & documentation, so thanks for doing that. |