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 16676] - StackOverflow due to ToStringBuilder
Date Fri, 28 Feb 2003 14:47:22 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=16676>.
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=16676

StackOverflow due to ToStringBuilder





------- Additional Comments From mparaz@mparaz.com  2003-02-28 14:47 -------
ToStringBuilder.reflectionToString() is static and creates a new
ToStringBuilder() on each call, with no knowledge of the previous calls. Thus
there's no way to maintain an object graph, keep state and "remember" what
objects have been appended to the StringBuffer. There's no way for us to know
that the toString() method will call reflectionToString() again. Am I right?

---------------------------------------------------------------------
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