| Summary: | Debug view "Terminate/Disconnect All" doesn't work | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Michael Dillon <michael.dillon> | ||||||
| Component: | Debug | Assignee: | JDT-Debug-Inbox <jdt-debug-inbox> | ||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | curtis.windatt.public, daniel_megert, darin.eclipse, remy.suen | ||||||
| Version: | 3.7 | Flags: | daniel_megert:
pmc_approved+
curtis.windatt.public: review+ |
||||||
| Target Milestone: | 3.6.1 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Michael Dillon
Created attachment 177843 [details]
patch for 3.7
This bug was introduced when DebugCommandAction was made API in 3.6. The method #getContext() was made private, and the TerminateAllAction was no longer able to override the method. The fix is to make the API method protected and allow subclasses to override.
This is a regression in 3.6, since 3.5. As the fix requires an API addition (to new API that was added in 3.6), I am not sure if this should go into 3.6.1. The workaround is to "select all & terminate". Dani, do you have an opinion on inclusion in 3.6.1? This will at least be a 3.7 candidate. The regression causes confusion and should get fixed for 3.6.1. The fix is simple and works.
>As the fix requires an API addition
In order to not touch API we can mark 'getContext' with @nooverride and @noreference in 3.6.1.
Created attachment 177952 [details]
patch for 3.6.1
Released to 3.6.1 Released to 3.7 Verified in M20100901-1310 Verified with M20100902-1717 |