On Fri, 22 May 2026 18:40:08 GMT, Phil Race <[email protected]> wrote:

>> 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).
>
> Phil Race has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   8381007

src/java.desktop/share/classes/java/awt/image/MultiPixelPackedSampleModel.java 
line 133:

> 131:         if (sls < 0) {
> 132:             throw new RasterFormatException("Pixels do not fit");
> 133:         };

unnecessary semicolon

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/30826#discussion_r3307445734

Reply via email to