Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 124038 - Memory leak in packages view
Memory leak in packages view
Status: RESOLVED FIXED
Product: java
Classification: Unclassified
Component: Project
6.x
All All
: P3 (vote)
: 6.x
Assigned To: Milan Kubec
issues@java
perfleak
: PERFORMANCE, TEST
Depends on:
Blocks: 121855
  Show dependency treegraph
 
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
:


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


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo