commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [jira] Created: (JELLY-122) ComponentTag should clear it's bean reference
Date Mon, 30 Aug 2004 01:28:20 GMT

  A new issue has been created in JIRA.

View the issue:

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

   Reporter: Hans Gilde

    Created: Sun, 29 Aug 2004 6:28 PM
    Updated: Sun, 29 Aug 2004 6:28 PM

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.

This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message