On Wed, 24 Jan 2024 17:15:06 GMT, Vicente Romero <vrom...@openjdk.org> wrote:
>> Aggelos Biboudis has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Remove redundant test from checkUnconditionallyExact > > src/java.base/share/classes/java/lang/runtime/SwitchBootstraps.java line 168: > >> 166: requireNonNull(labels); >> 167: >> 168: labels = labels.clone(); > > just curious, why do we need to clone this array? No need. Remainings of a previous approach. Thanks for spotting ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/15638#discussion_r1465672119