Community
Participate
Working Groups
+++ This bug was initially created as a clone of Bug #317068 +++ HEAD BreadcrumbItems are leaked (not disposed) when a Java editor is closed. Found that by adding the following to org.eclipse.swt.widgets.Widget: // --- Find undisposed widgets: --- private Error creation; { creation = new Error("Widget not disposed before finalized! Created at:"); } protected void finalize() throws Throwable { if (!isDisposed()) { creation.printStackTrace(); } } //--- End find undisposed widgets. --- From looking at the code, I think there are more leaks in the breadcrumb: BreadcrumbViewer does not extend handleDispose(), never disposes of the fToolTipLabelProvider (which installs global listeners), etc.
No issue from label provider but items need to be disposed.
Created attachment 172206 [details] Fix (needs to be adjusted for 3.6.1)
I applied the fix. Thank You!
Marking verified.