| Summary: | M5ish change in IMarker is not (source?) compatible | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | David Williams <david_williams> | ||||||
| Component: | Resources | Assignee: | James Blackburn <jamesblackburn+eclipse> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | major | ||||||||
| Priority: | P3 | CC: | jamesblackburn+eclipse, Szymon.Brandys | ||||||
| Version: | 3.7 | Flags: | john.arthorne:
review+
|
||||||
| Target Milestone: | 3.7 M5 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 7 | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
David Williams
Yes, this a source-level bug, it should be public void setAttributes(Map<String, ? extends Object> attributes) throws CoreException; It'll work at runtime due to erasure. Created attachment 187571 [details]
patch 1
Patch for the issue.
I think this needs to be fixed for M5 or people will run into it... Created attachment 187573 [details]
test1
Fixes the generics warnings in MarkerTest.
John, this is a potential API breakage, can this go into M5? Yes this source incompatibility was made unintentionally during generification of the API. Thanks for reporting it, and thanks for the patch James. I have released it immediately to make sure it gets in the M5 candidate build. James could you verify the bug when the next IBuild is ready? Just to cross-reference, for a possible similar case (in third party code, ICU), see bug 337699. |