On Mon, 20 Apr 2026 16:18:48 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).

This pull request has now been integrated.

Changeset: c09e4033
Author:    Phil Race <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/c09e403385d0e436d7af77511ad3b2d09ba7dead
Stats:     206 lines in 2 files changed: 180 ins; 15 del; 11 mod

8381007: MultiPixelPackedSampleModel can throw ArithmeticException

Reviewed-by: jdv, azvegint, serb

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

PR: https://git.openjdk.org/jdk/pull/30826

Reply via email to