[ 
https://issues.apache.org/jira/browse/XERCESJ-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Glavassevich resolved XERCESJ-1298.
-------------------------------------------

    Resolution: Fixed

Thanks Ludger.  I've committed your patch to SVN with some modifications [1] to 
preserve object serialization compatibility with previous versions of Xerces. 
As you can see, not quite as simple as changing the type of the field from 
Hashtable to WeakHashMap.

[1] http://svn.apache.org/viewvc?view=rev&revision=695558

> User data for a node should be garbage collectable if the node itself is 
> garbage collected.
> -------------------------------------------------------------------------------------------
>
>                 Key: XERCESJ-1298
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1298
>             Project: Xerces2-J
>          Issue Type: Improvement
>          Components: DOM (Level 3 Core)
>    Affects Versions: 2.9.1
>            Reporter: Ludger Bünger
>            Assignee: Michael Glavassevich
>            Priority: Trivial
>         Attachments: WeakUserDataPatch.txt
>
>
> User data for a node should be garbage collectable if the node itself is 
> garbage collected.
> Currently user data will remain referenced -even if the node itself is 
> garbage collected- until the Document node itself is garbage collected.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to