JDK-8323210 : Update the usage of cmsFLAGS_COPY_ALPHA
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 17,21,22
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2024-01-08
  • Updated: 2024-03-02
  • Resolved: 2024-01-09
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 17 JDK 21 JDK 22 JDK 23
17.0.12-oracleFixed 21.0.4-oracleFixed 22.0.1Fixed 23 b05Fixed
Related Reports
Blocks :  
Description
Implementation of cmsFLAGS_COPY_ALPHA in littlecms is changed to throw an exception 
 - if the number of extra channels in src and dst are different.
 - If dst does not have an alpha but src has
 - If src does not have an alpha but dst has

Exception does not occurred if the number of extra channels are the same(even if both are zero)
Comments
[~achung] looks like it is already done - https://bugs.openjdk.org/browse/JDK-8323836
25-01-2024

[~serb] since the lcms 2.16 update needs to be backported to jdk22u, can you backport this change?
25-01-2024

Removing jdk17u fix request as per previous comment. It should go into 21u first.
15-01-2024

This patch is quite new and 2.16 doesn't seem widespread. This seems to be preparatory for JDK-8321489 (2.16 update). Please re-apply for JDK 21 approval once 21.0.4 development starts. That way it allows for more soak time in JDK 23/22.
15-01-2024

Fix request (17u) The fix was verified by using an updated version of the lcms library. Other jdk_desktop tests are green. Review 17u-dev: https://github.com/openjdk/jdk17u-dev/pull/2118
15-01-2024

Fix request (22u 21u) Clean backport. The fix was verified by using an updated version of the lcms library. Other jdk_desktop tests are green. Review 22u: https://github.com/openjdk/jdk22u/pull/23 Review 21u-dev: https://github.com/openjdk/jdk21u-dev/pull/156
15-01-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk22u/pull/23 Date: 2024-01-13 18:48:06 +0000
13-01-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk17u-dev/pull/2118 Date: 2024-01-10 01:23:13 +0000
10-01-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk21u-dev/pull/156 Date: 2024-01-09 22:15:00 +0000
10-01-2024

Changeset: aba19334 Author: Sergey Bylokhov <serb@openjdk.org> Date: 2024-01-09 22:05:37 +0000 URL: https://git.openjdk.org/jdk/commit/aba19334eaeb46d37169cddeef929b13e050a60e
09-01-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/17320 Date: 2024-01-09 07:21:26 +0000
09-01-2024