Return-Path: Mailing-List: contact commons-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list commons-dev@xml.apache.org Received: (qmail 43494 invoked from network); 16 Oct 2001 12:09:54 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 16 Oct 2001 12:09:54 -0000 Received: (qmail 5811 invoked by uid 50); 16 Oct 2001 12:09:54 -0000 Date: 16 Oct 2001 12:09:54 -0000 Message-ID: <20011016120954.5810.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: commons-dev@xml.apache.org Cc: Subject: DO NOT REPLY [Bug 4129] - Correction to earlier AttributesImpl bug-fix X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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.