RFR: 8356152: String.concat can throw StringIndexOutOfBoundsException [v4]

Andrey Turbanov aturbanov at openjdk.org
Mon May 5 18:42:45 UTC 2025


On Mon, 5 May 2025 17:47:02 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:

>> _Really_ fails with Xmx7G
>
> Yes, the required heap size was not enough for the reverted variant to throw a non-OOME exception/error.
> 
> Just out of curiosity, is JDK-8356152 a real-world issue you stumbled upon, or did you encounter it during some testing of yours?

I just stumbled at the code, while reviewing other patches. Not a real-world issue.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25038#discussion_r2073977237


More information about the core-libs-dev mailing list