On Tue, 14 Oct 2025 05:25:44 GMT, Phil Race <[email protected]> wrote:
> color is initially returned as 4 element array but we over-write with 3 > element and so next time through the loop it is used by but is too short. > More details in JBS. Marked as reviewed by psadhukhan (Reviewer). test/jdk/java/awt/image/ColorConvertOp/ColorConvertOpCMYK.java line 49: > 47: ColorSpace cs = ColorSpace.getInstance(ColorSpace.CS_sRGB); > 48: ColorConvertOp convertOp = new ColorConvertOp(cs, null); > 49: BufferedImage rgb = convertOp.filter(source, null); rgb variable can be removed... ------------- PR Review: https://git.openjdk.org/jdk/pull/27785#pullrequestreview-3416180330 PR Review Comment: https://git.openjdk.org/jdk/pull/27785#discussion_r2490306903
