You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/08/21 15:22:20 UTC
DO NOT REPLY [Bug 19331] -
[lang] General case: infinite loop: ToStringBuilder.reflectionToString
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=19331>.
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=19331
[lang] General case: infinite loop: ToStringBuilder.reflectionToString
------- Additional Comments From eiichiro.takahashi@ulsystems.co.jp 2003-08-21 13:22 -------
Hello. I found similar bug.
I'm not good at English.
So, if you found "syntax error", please ignore it. ;-)
---------------------------------------------------------------
private static class Alpha{
private Alpha alpha;
public Alpha(){
this.alpha = this;
}
public String toString(){
return ToStringBuilder.reflectionToString(this);
}
}
---------------------------------------------------------------
This code ends with StackOverflowError. My environment is ...
System.out.println("" + ToStringBuilder.class.getPackage
().getImplementationVersion()); returns "1.0.1".
Thanks.