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=15986>.
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=15986

Infinite loop in ToStringBuilder.reflectionToString for inner classes





------- Additional Comments From [EMAIL PROTECTED]  2003-01-19 19:10 -------
I just checked the changes in CVS. If I read the code correctly, it will now 
discard any field name containing a '$' character. This may be too restrictive 
since '$' is a legal identifier part AFAIK.

Also, I have thought a bit more about the problem. It is actually a more 
general problem than the one I reported. Inner classes are not the only way you 
could have mutually recursive data structures. So perhaps we should think of a 
more general way of preventing this infinite loop. I have not made any solution 
yet, but I think it might be solved using a Set of references to already 
traversed instances and then avoid traversing an instance if it has already 
been traversed.

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

Reply via email to