Closed pshipton closed 6 months ago
Openj9 can allocate new byte[Integer.MAX_VALUE - 1] but this exceeds the Hotspot implementation limit.
new byte[Integer.MAX_VALUE - 1]
Fixes https://github.com/eclipse-openj9/openj9/issues/19303
Tested in grinder https://openj9-jenkins.osuosl.org/view/Test/job/Grinder/3472 showing MaxSizeUTF16String::testMaxUTF8_UTF16Encode is SUCCESSFUL. There is another issue https://github.com/eclipse-openj9/openj9/issues/19309 preventing the test from passing.
MaxSizeUTF16String::testMaxUTF8_UTF16Encode
Openj9 can allocate
new byte[Integer.MAX_VALUE - 1]
but this exceeds the Hotspot implementation limit.Fixes https://github.com/eclipse-openj9/openj9/issues/19303
Tested in grinder https://openj9-jenkins.osuosl.org/view/Test/job/Grinder/3472 showing
MaxSizeUTF16String::testMaxUTF8_UTF16Encode
is SUCCESSFUL. There is another issue https://github.com/eclipse-openj9/openj9/issues/19309 preventing the test from passing.