Project: Eclipse_Platform_UI
Bug 181991 [Contributions] ContributedAction leaks editors
Reported: 2007-04-11 14:08:04 | Status: verified fixed

I20070410-1043 - new workspace - paste into Package Explorer: public class Test1 { public static void main(String[] arg) { System.out.println("Hello"); } } - doubleclick ruler on line 3 to add a breakpoint - close editor => the CompilationUnitEditor is leaked via ActionDelegateHandlerProxy#delegate and ContributedAction#appContext If you make a copy of the class, set the breakpoint there, and close the editor again, then the first editor is still leaked via ContributedAction#appContext and the most recent editor is leaked through both ways.

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/actions/ContributedAction.java