Re: It is no longer possible to create huge strings using RandomStringUtils

2025-05-06 Thread Gary Gregory
Hi James, Thank you for the report. Feel free to create a PR on GitHub. Gary On Tue, May 6, 2025, 00:28 James Winters wrote: > Since 3.17.0, and the new CachedRandomBits implementation, it is no longer > possible to create random strings longer than about 60M characters. It's > not exact, as

It is no longer possible to create huge strings using RandomStringUtils

2025-05-05 Thread James Winters
Since 3.17.0, and the new CachedRandomBits implementation, it is no longer possible to create random strings longer than about 60M characters. It's not exact, as the overflow will happen at a random point depending on the number of rejections. The attached test will always generate an java.lang.