[jdk8u-dev] RFR: 8347377: Add validation checks for ICC_Profile header fields

Jan Kratochvil jkratochvil at openjdk.org
Sat Sep 6 20:37:00 UTC 2025


ICC_Profile header is validated too late leading later to unexpected exceptions.
A testcase is included.
It is not a clean backport - it has to change return switch expressions to their old format, also source files are moved, copyright years updated.
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/jdk8u-dev/pull/691 as a prerequisite.

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

Depends on: https://git.openjdk.org/jdk8u-dev/pull/691

Commit messages:
 - 8347377: Add validation checks for ICC_Profile header fields

Changes: https://git.openjdk.org/jdk8u-dev/pull/692/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=692&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8347377
  Stats: 347 lines in 4 files changed: 336 ins; 2 del; 9 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/692.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/692/head:pull/692

PR: https://git.openjdk.org/jdk8u-dev/pull/692


More information about the jdk8u-dev mailing list