If you look at Strings.toString(Trowable) then it also checks that cause !=
cause.getCause() :-)

Frank

On Thu, Mar 13, 2008 at 4:38 PM, Igor Vaynberg <[EMAIL PROTECTED]>
wrote:

> heh, i really really dont think so.
>
> if that was ever true you would have some huge log files because
> printing out a stacktrace would go into an infinite loop too :)
>
> -igor
>
>
>
> On Thu, Mar 13, 2008 at 2:22 AM, Frank Bille <[EMAIL PROTECTED]>
> wrote:
> > As far as I can see you would never get out of the loop because
> >  cause.getCause() will at some point return itself if I remember
> correctly.
> >  Frank
> >
> >  On Thu, Mar 13, 2008 at 1:43 AM, Igor Vaynberg <[EMAIL PROTECTED]
> >
> >  wrote:
> >
> >
> >
> >  > i attached a patch (untested) which solves it in a very general ways.
> >  > let me know if you guys see any problems with it.
> >  >
> >  > -igor
> >  >
> >
>

Reply via email to