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 - Memory leak in packages view
Summary: Memory leak in packages view
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milan Kubec
URL:
Keywords: PERFORMANCE, TEST
Depends on:
Blocks: 121855
  Show dependency tree
 
Reported: 2007-12-14 16:06 UTC by Jaroslav Tulach
Modified: 2008-01-04 12:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
My fix (1019 bytes, patch)
2007-12-14 20:38 UTC, Jaroslav Tulach
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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