RFR: 8259911: byteArrayViewVarHandle should throw ArrayIndexOutOfBoundsException

Claes Redestad redestad at openjdk.java.net
Tue Jan 19 20:33:49 UTC 2021


On Tue, 19 Jan 2021 19:42:38 GMT, Mandy Chung <mchung at openjdk.org> wrote:

> The change to AIOOBE is reasonable. Have you considered making this just as an implementation change and leave the spec as is?

What would be the benefits? AFAICT the CSR is still needed since it's a small behavioral change, and updating the spec helps communicate that change.

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

PR: https://git.openjdk.java.net/jdk/pull/2124


More information about the hotspot-compiler-dev mailing list