[OpenJDK 2D-Dev] Integrated: 8263622: The java.awt.color.ICC_Profile#setData invert the order of bytes for the "head" tag

Sergey Bylokhov serb at openjdk.java.net
Thu Mar 18 20:10:40 UTC 2021


On Tue, 16 Mar 2021 20:08:59 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> The root cause is using the wrong endian, the ICC profile uses big-endian notation. We even have special methods to convert the data, but for some reason, their usage was dropped in the JDK-6523398.

This pull request has now been integrated.

Changeset: 01ddf3d2
Author:    Sergey Bylokhov <serb at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/01ddf3d2
Stats:     132 lines in 2 files changed: 88 ins; 35 del; 9 mod

8263622: The java.awt.color.ICC_Profile#setData invert the order of bytes for the "head" tag

Reviewed-by: azvegint

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

PR: https://git.openjdk.java.net/jdk/pull/3037


More information about the 2d-dev mailing list