In JDK 26 the spec for various methods in Raster were updated under https://bugs.openjdk.org/browse/JDK-8369129
It was discovered that some cases did not actually check an out-of-bounds bank index as specified There was a test for two of these cases but there was a bug which caused it to get the expected exception for a different reason. The implementation and the test are fixed. --------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - 8386671 Changes: https://git.openjdk.org/jdk/pull/31540/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31540&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8386671 Stats: 48 lines in 2 files changed: 46 ins; 0 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/31540.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/31540/head:pull/31540 PR: https://git.openjdk.org/jdk/pull/31540
