On Mon, 23 Nov 2026 11:24:25 GMT, Andreas Chmielewski <[email protected]> wrote:
> Hi all, > > As part of this improvement, I developed a comprehensive unit test for > AbstractMask.checkIndexByLane(). > > Besides improving test coverage, the test serves as executable documentation > and provides practical examples of how the API is intended to be used. > > Thanks, > Andreas > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). test/jdk/jdk/incubator/vector/AbstractMaskCheckIndexByLaneTest.java line 234: > 232: } > 233: > 234: record TestCase(boolean shouldThrow, long offset, long length, int > esize, I believe that instead of `shouldThrow`, a better name would be `expectIOOBE`. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/34022#discussion_r4684339534
