JDK-8297088 : Update LCMS to 2.14
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 8,11,17,20
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: generic
  • Submitted: 2022-11-15
  • Updated: 2024-08-19
  • Resolved: 2022-11-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 17 JDK 20 JDK 8
11.0.19-oracleFixed 17.0.7-oracleFixed 20 b25Fixed 8u371Fixed
Related Reports
Relates :  
Relates :  
Sub Tasks
JDK-8297089 :  
Description
LittleCMS (aka LCMS) 2.14 released on Nov 1, 2022: 
https://github.com/mm2/Little-CMS/releases/tag/lcms2.14 

We should upgrade JDK 20 to use this last one.

The log from previous attempt: 
[2022-11-15T22:25:14,823Z] /opt/mach5/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S8390/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/76234cd9-c2b0-4025-a89b-b7e173ca8803/runs/52e4fa9f-5910-43a4-9d35-50d8feab54a6/workspace/open/src/java.desktop/share/native/liblcms/cmscgats.c: In function 'satoi':
[2022-11-15T22:25:14,823Z] /opt/mach5/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S8390/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/76234cd9-c2b0-4025-a89b-b7e173ca8803/runs/52e4fa9f-5910-43a4-9d35-50d8feab54a6/workspace/open/src/java.desktop/share/native/liblcms/cmscgats.c:1569:11: error: comparison is always false due to limited range of data type [-Werror=type-limits]
[2022-11-15T22:25:14,823Z]  1569 |     if (n > 0x7fffffffL) return 0x7fffffffL;
[2022-11-15T22:25:14,823Z]       |           ^
[2022-11-15T22:25:15,828Z] cc1: all warnings being treated as errors
[2022-11-15T22:25:15,837Z] make[3]: *** [/opt/mach5/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S8390/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/76234cd9-c2b0-4025-a89b-b7e173ca8803/runs/52e4fa9f-5910-43a4-9d35-50d8feab54a6/workspace/build/linux-x64/support/native/java.desktop/liblcms/static/cmscgats.o] Error 1
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/11217 Date: 2022-11-17 19:05:36 +0000
19-08-2024

Fix request [11u] I backport this for parity with 11.0.19-oracle. One of the regular update of external libs. Clean backport from 17 except for a trivial resolve in cmsio0.c. SAP nightly testing passed.
17-01-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk11u-dev/pull/1659 Date: 2023-01-16 13:19:08 +0000
16-01-2023

Fix request [17u] I backport this for parity with 17.0.7-oracle. One of the regular update of external libs. Clean backport except for a hunk in the makefile. SAP nightly testing passed.
05-01-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk17u-dev/pull/1030 Date: 2023-01-04 10:44:39 +0000
04-01-2023

Changeset: 2c692aa3 Author: Alisen Chung <achung@openjdk.org> Date: 2022-11-18 19:39:47 +0000 URL: https://git.openjdk.org/jdk/commit/2c692aa3567fff446b1a3263023077d8b4236945
18-11-2022

Change from P1 -> P3 which is the original priority of: JDK-8295369 Update LCMS to 2.14 since this bug is now the [REDO].
15-11-2022

[~achung] - It looks like your fix for: JDK-8295369 Update LCMS to 2.14 has broken Tier1 builds on at least Linux machines.
15-11-2022