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.
------------- Commit messages: - test update - reformat - use built-in AdjustEndiannessXX - Initial version Changes: https://git.openjdk.java.net/jdk/pull/3037/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3037&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8263622 Stats: 132 lines in 2 files changed: 88 ins; 35 del; 9 mod Patch: https://git.openjdk.java.net/jdk/pull/3037.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/3037/head:pull/3037 PR: https://git.openjdk.java.net/jdk/pull/3037