On Fri, 2 Dec 2022 03:34:50 GMT, Sergey Bylokhov <[email protected]> wrote:

> The specification for `java.awt.image.ColorModel#getComponentSize(int)` 
> states that an ArrayIndexOutOfBoundsException is thrown "if componentIdx is 
> greater than the number of components or less than zero". The condition 
> should actually be "if componentIdx is greater than OR EQUAL TO the number of 
> components or less than zero."

Marked as reviewed by prr (Reviewer).

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

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

Reply via email to