The bug was filed to note that the constructor for MultiPixelPackedSampleModel could throw an odd exception if numberOfBits is zero. Per the spec this should throw RasterFormatException.
--------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - 8381007 Changes: https://git.openjdk.org/jdk/pull/30826/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30826&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8381007 Stats: 145 lines in 2 files changed: 140 ins; 5 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/30826.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30826/head:pull/30826 PR: https://git.openjdk.org/jdk/pull/30826
