[jdk8u-dev] RFR: 8271459: C2: Missing NegativeArraySizeException when creating StringBuilder with negative capacity

Alexey Pavlyutkin duke at openjdk.org
Fri Oct 14 06:41:49 UTC 2022


On Tue, 11 Oct 2022 15:38:08 GMT, Roland Westrelin <roland at openjdk.org> wrote:

> That looks good to me. Why not include the test case?

Original tests were not backported to the 11 because they are based on IR test framework that does not exists in the 11. I raised JDK-8295322 to re-factor the tests and incorporate them into the 11 and the 8.

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

PR: https://git.openjdk.org/jdk8u-dev/pull/111


More information about the jdk8u-dev mailing list