This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 124038

Summary: Memory leak in packages view
Product: java Reporter: Jaroslav Tulach <jtulach>
Component: ProjectAssignee: Milan Kubec <mkubec>
Status: RESOLVED FIXED    
Severity: blocker Keywords: PERFORMANCE, TEST
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 121855    
Attachments: My fix

Description Jaroslav Tulach 2007-12-14 16:06:45 UTC
Prevents a closed project from being garbage collected:

junit.framework.AssertionFailedError: Checking if all projects are really garbage collected Project:
private static javax.swing.Action[] org.netbeans.spi.java.project.support.ui.PackageViewChildren.actions->
[Ljavax.swing.Action;@e67672-[11]->
org.netbeans.modules.uml.integration.netbeans.actions.ReverseEngineerAction@a744be-sourceProject->
org.netbeans.modules.java.j2seproject.J2SEProject@2f01b4
Comment 1 Jaroslav Tulach 2007-12-14 20:38:06 UTC
Created attachment 54278 [details]
My fix
Comment 2 Milan Kubec 2008-01-04 12:23:57 UTC
Patch integrated, thanks.

Checking in PackageViewChildren.java;
/cvs/java/project/src/org/netbeans/spi/java/project/support/ui/PackageViewChildren.java,v  <--  PackageViewChildren.java
new revision: 1.83; previous revision: 1.82
done