[jdk21u-dev] RFR: 8346465: Add a check in setData() to restrict the update of Built-In ICC_Profiles [v2]

Jan Kratochvil jkratochvil at openjdk.org
Tue Sep 16 09:23:49 UTC 2025


> Built-in singleton ICC_Profiles could be modified using setData(). Throw an exception for such an attempt.
> A testcase is included.
> It is a clean backport.
> This backport is authored by Anton Voznia, I am only submitting it. Anton Voznia is an Azul employee so he should be covered by Azul OCA. Anton Voznia has not signed a personal OCA from Oracle.
> It requires https://github.com/openjdk/jdk21u-dev/pull/2154 as a prerequisite.

Jan Kratochvil has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase.

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

Changes:
  - all: https://git.openjdk.org/jdk21u-dev/pull/2155/files
  - new: https://git.openjdk.org/jdk21u-dev/pull/2155/files/278072ef..278072ef

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=2155&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=2155&range=00-01

  Stats: 0 lines in 0 files changed: 0 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/2155.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/2155/head:pull/2155

PR: https://git.openjdk.org/jdk21u-dev/pull/2155


More information about the jdk-updates-dev mailing list