| Summary: | NPE in BreakpointManager.removeBreakpointListener() during shutdown | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Mirko Seifert <mirko.seifert> | ||||
| Component: | Debug | Assignee: | Pawel Piech <pawel.1.piech> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | curtis.windatt.public, Michael_Rennie, pawel.1.piech | ||||
| Version: | 3.7 | Flags: | Michael_Rennie:
review+
|
||||
| Target Milestone: | 3.8 M2 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Mirko Seifert
Created attachment 200026 [details]
Proposed simple fix.
It seems that the most correct thing to do would be to add another synchronization object that is set at shutdown and checked before every listener add/remove. This seems like a lot of fluff for the edge case. Instead I think we can just clear the lists instead of setting them to null. Mike, do you agree? Makes sense. Applied a version of the patch that does not have a compile error in it to HEAD. Verified in I20110912-2126 |