Details
-
Bug
-
Resolution: Fixed
-
P4
-
1.4.1
-
b27
-
sparc
-
solaris_7
Description
The spec for ColorModel.getComponentSize(int componentIdx) 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."
Attachments
Issue Links
- csr for
-
JDK-8297998 ColorModel.getComponentSize()-wrong conditions for ArrayIndexOutOfBoundsExceptio
- Closed