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

Roland Westrelin roland at openjdk.org
Fri Oct 14 07:04:50 UTC 2022


On Fri, 14 Oct 2022 06:38:30 GMT, Alexey Pavlyutkin <duke 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.

Makes sense.

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

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


More information about the jdk8u-dev mailing list