| Summary: | [3.6.x] Exception when disposing a menu | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Scott Kovatch <skovatch> |
| Component: | SWT | Assignee: | Scott Kovatch <skovatch> |
| Status: | RESOLVED FIXED | QA Contact: | Silenio Quarti <Silenio_Quarti> |
| Severity: | normal | ||
| Priority: | P3 | CC: | aristide.martin, lshanmug, mariot.chauvin, pwebster, remy.suen, skovatch |
| Version: | 3.6.2 | Flags: | skovatch:
review?
(Silenio_Quarti) |
| Target Milestone: | --- | ||
| Hardware: | Macintosh | ||
| OS: | Mac OS X | ||
| Whiteboard: | |||
| Bug Depends on: | 329924 | ||
| Bug Blocks: | |||
|
Description
Scott Kovatch
Fix is to add /* Update menu title with parent item title */ if (!parent.isDisposed()) updateText (); instead of an unchecked call to updateText() at the end of MenuItem#setMenu(). Requesting review for 3.6.2, so there's no rush to review. This patch did not made sense to me. How can the parent of a menu item be disposed while the menu item itself is not disposed? It seems there is something else wrong in the dispose cycle and the patch is just hiding it. Are you able to reproduce it? This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. This has been fixed in 3.7 via Bug 329924. Closing the backport bug. |