| Summary: | Exception when disposing a menu | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Aristide Martin <aristide.martin> | ||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | mariot.chauvin, pwebster, remy.suen, skovatch | ||||
| Version: | 3.5.2 | ||||||
| Target Milestone: | 3.7 M4 | ||||||
| Hardware: | Macintosh | ||||||
| OS: | Mac OS X | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 330589 | ||||||
| Attachments: |
|
||||||
|
Description
Aristide Martin
Please provide a sample plug-in project that will reproduce the problem. Does the problem occur on Eclipse 3.6.x? Created attachment 182838 [details]
patch for HEAD
a patch to review
My mistake. Looks like the code is actually in SWT. I modified it a bit so we just check for disposal at the beginning of updateText. Otherwise we end up doing an unnecessary string scan before leaving the method. It was the right idea, though. Fixed > 20101116. . Thanks ! Is it possible to commit the fix on the 3.6.2 branch too? I think that can be arranged. It's a pretty small fix. I'll clone this for 3.6.2 so we can track it. Thanks ! |