RFR: 8315771: [JVMCI] Resolution of bootstrap methods with int[] static arguments [v5]

Doug Simon dnsimon at openjdk.org
Wed Sep 13 13:57:39 UTC 2023


On Wed, 13 Sep 2023 13:47:50 GMT, Sacha Coppey <duke at openjdk.org> wrote:

>> Yes please. We should opt for exceptions over undefined behavior whenever possible.
>
> After double checking, there is in fact already an `assert` for checking if the index is out of bounds. Should I change it to an exception?

Is the assertion in code that can throw exceptions?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15588#discussion_r1324552791


More information about the hotspot-compiler-dev mailing list