commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <flame...@gmail.com>
Subject Re: [lang] LANG-686 Recursive call of replaceEachRepeatedly
Date Thu, 28 Jul 2011 22:26:49 GMT
Anyone against just letting users get a StackOverflowError?

https://issues.apache.org/jira/browse/LANG-686

Hen

On Tue, Jul 26, 2011 at 11:42 PM, Henri Yandell <flamefew@gmail.com> wrote:
> I'm wondering what people think to:
>
>    https://issues.apache.org/jira/browse/LANG-686
>
> I've improved the message of the thrown exception to match the
> javadoc, but I'm wondering if a TTL of 2 to protect a
> StackOverflowError is really necessary :) I have the urge to throw in
> 64, or 512, or some random number as a minimum value, but unsure.
>
> Alternatively, we could just let the StackOverflowError happen and
> remove the TTL code.
>
> Thoughts?
>
> Hen
>

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


Mime
View raw message