On Sat, 2 Mar 2024 00:34:32 GMT, Justin Lu <j...@openjdk.org> wrote:

> When toPattern() is invoked, StringBuilder internally doubles capacity 
> attempting to append Integer.MAX_VALUE digits until OOME occurs.

It seems a bug in `toPattern` or `StringBuilder`? May be better to investigate 
more about it.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/18094#issuecomment-1975023075

Reply via email to