xml-commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 4129] - Correction to earlier AttributesImpl bug-fix
Date Tue, 16 Oct 2001 12:09:54 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4129>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4129

Correction to earlier AttributesImpl bug-fix





------- Additional Comments From gmarcy@us.ibm.com  2001-10-16 05:09 -------
I am not sure how to create one exactly.  The reason for the initial report is 
not know to me, except that from inspection I can see that the original code did 
not clear the "slots" following the new last entry after a call to remove an 
attribute.  This would simply leave references to String objects that would not 
be collectable during gc(), but would otherwise seem to be benign (they are 
immutable after all...)  My changes were to simply take the "spirit" of the 
original fix and change the code to clear the String references so that the 
entries in the array were always null beyond the last in-use entry.  Perhaps we 
should ask garyp or dims if they have more information to offer.

Mime
View raw message