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 19096] - BeanMap.toString() causes infinite loop on circular object graph
Date Fri, 18 Apr 2003 17:12:51 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=19096>.
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=19096

BeanMap.toString() causes infinite loop on circular object graph





------- Additional Comments From mohankishore@yahoo.com  2003-04-18 17:12 -------
Have added a proposed implementation. It should help where the cyclic behavior 
is due to the values (or keys) pointing to parent list/map. If the embeded 
objects toString methods are implemented in a manner that causes cyclic loop, 
imho, we cant do anything about it.

btw, my proposal is not specific to this class - might be moved to a more 
generic class, and the list/map implementations can use the utility method.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message