This is mostly spec updates. A PixelInterleavedSampleModel constructor did not specify what happens with some illegal arguments
It was also reported that the same problem exists for the createSubsetSampleModel so that is updated too, but I then went and looked at this method in other SampleModel subclasses and updated those too. The super-class SampleModel. createSubsetSampleModel is NOT updated because in fact one subclass behaves differently because it supports only one band. That subclass is handled in a related PR, not this one. --------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - 8378464 Changes: https://git.openjdk.org/jdk/pull/30902/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30902&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8378464 Stats: 195 lines in 6 files changed: 194 ins; 1 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/30902.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30902/head:pull/30902 PR: https://git.openjdk.org/jdk/pull/30902
