You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by co...@jakarta.apache.org on 2004/08/30 03:28:20 UTC
[jira] Created: (JELLY-122) ComponentTag should clear it's bean reference
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/JELLY-122
Here is an overview of the issue:
---------------------------------------------------------------------
Key: JELLY-122
Summary: ComponentTag should clear it's bean reference
Type: Bug
Status: Unassigned
Priority: Major
Project: jelly
Versions:
1.0-beta-4
Assignee:
Reporter: Hans Gilde
Created: Sun, 29 Aug 2004 6:28 PM
Updated: Sun, 29 Aug 2004 6:28 PM
Description:
The Swing CompoentTag should null-out the reference to its bean after it's done executed. No tags keep a reference to the ComponentTag itself, at most they'll get a reference to the underlying bean.
At the moment, ComponentTag can cause it's bean to stick around in memory unexpectedly. The Tag instance might be cached by the TagScript for later reuse. If the Tag keeps a reference to it's component, then that component won't be GC'd, even if the component is disposed. And the component itself will never be resued, so there's no point in keeping it around.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
[jira] Closed: (JELLY-122) ComponentTag should clear it's bean reference
Posted by co...@jakarta.apache.org.
Message:
The following issue has been closed.
Resolver: dion gillard
Date: Wed, 1 Sep 2004 5:17 PM
Applied
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/JELLY-122
Here is an overview of the issue:
---------------------------------------------------------------------
Key: JELLY-122
Summary: ComponentTag should clear it's bean reference
Type: Bug
Status: Closed
Priority: Major
Resolution: FIXED
Project: jelly
Fix Fors:
1.0-beta-4
Versions:
1.0-beta-4
Assignee:
Reporter: Hans Gilde
Created: Sun, 29 Aug 2004 6:28 PM
Updated: Wed, 1 Sep 2004 5:17 PM
Description:
The Swing CompoentTag should null-out the reference to its bean after it's done executed. No tags keep a reference to the ComponentTag itself, at most they'll get a reference to the underlying bean.
At the moment, ComponentTag can cause it's bean to stick around in memory unexpectedly. The Tag instance might be cached by the TagScript for later reuse. If the Tag keeps a reference to it's component, then that component won't be GC'd, even if the component is disposed. And the component itself will never be resued, so there's no point in keeping it around.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
[jira] Updated: (JELLY-122) ComponentTag should clear it's bean reference
Posted by co...@jakarta.apache.org.
The following issue has been updated:
Updater: Hans Gilde (mailto:hansgilde@earthlink.net)
Date: Sun, 29 Aug 2004 6:28 PM
Comment:
and the patch to fix it
Changes:
Attachment changed to component-clear-bean.txt
---------------------------------------------------------------------
For a full history of the issue, see:
http://issues.apache.org/jira/browse/JELLY-122?page=history
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/JELLY-122
Here is an overview of the issue:
---------------------------------------------------------------------
Key: JELLY-122
Summary: ComponentTag should clear it's bean reference
Type: Bug
Status: Unassigned
Priority: Major
Project: jelly
Versions:
1.0-beta-4
Assignee:
Reporter: Hans Gilde
Created: Sun, 29 Aug 2004 6:28 PM
Updated: Sun, 29 Aug 2004 6:28 PM
Description:
The Swing CompoentTag should null-out the reference to its bean after it's done executed. No tags keep a reference to the ComponentTag itself, at most they'll get a reference to the underlying bean.
At the moment, ComponentTag can cause it's bean to stick around in memory unexpectedly. The Tag instance might be cached by the TagScript for later reuse. If the Tag keeps a reference to it's component, then that component won't be GC'd, even if the component is disposed. And the component itself will never be resued, so there's no point in keeping it around.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org