git: openjdk/jdk: master: 8346465: Add a check in setData() to restrict the update of Built-In ICC_Profiles

Harshitha Onkar honkar at openjdk.org
Thu Apr 10 19:58:11 UTC 2025


Changeset: 3131dd1d
Branch: master
Author:    Harshitha Onkar <honkar at openjdk.org>
Date:      2025-04-10 19:55:29 +0000
URL:       https://git.openjdk.org/jdk/commit/3131dd1d5cb601b84cf898fff589596c2bcabdbc

8346465: Add a check in setData() to restrict the update of Built-In ICC_Profiles

Reviewed-by: aivanov, jdv, prr, serb

! src/java.desktop/share/classes/java/awt/color/ICC_Profile.java
+ test/jdk/java/awt/color/ICC_Profile/BuiltInProfileCheck/BuiltInProfileCheck.java
+ test/jdk/java/awt/color/ICC_Profile/BuiltInProfileCheck/builtIn.icc
= test/jdk/java/awt/color/ICC_Profile/BuiltInProfileCheck/custom.icc
! test/jdk/java/awt/color/ICC_Profile/SetHeaderInfo.java
! test/jdk/java/awt/color/ICC_ProfileSetNullDataTest.java
! test/jdk/sun/java2d/cmm/ProfileOp/SetDataTest.java



More information about the jdk-changes mailing list