On Mon, 13 Apr 2026 13:40:28 GMT, Chen Liang <[email protected]> wrote:
>> Dusan Balek has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> 8376162: SwitchBoostraps.typeSwitch does not throw IAE as expected
>
> src/java.base/share/classes/java/lang/runtime/SwitchBootstraps.java line 166:
>
>> 164: * both or an {@link IndexOutOfBoundsException} is thrown.
>> 165: *
>> 166: * @apiNote
>
> This is normative API instead of a separate note; I recommend emphasizing
> with a preview-style block like:
>
> https://github.com/openjdk/valhalla/blob/6ae315c0fe8964a18bba85c5b23c525bf3d4a35f/src/java.base/share/classes/java/lang/Object.java#L36-L45
Done.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/30703#discussion_r3079830972