[jdk8u-dev] RFR: 8346465: Add a check in setData() to restrict the update of Built-In ICC_Profiles
Jan Kratochvil
jkratochvil at openjdk.org
Tue Sep 9 11:22:42 UTC 2025
On Sat, 6 Sep 2025 20:38:02 GMT, Jan Kratochvil <jkratochvil at openjdk.org> wrote:
> Built-in singleton ICC_Profiles could be modified using setData(). Throw an exception for such an attempt.
> A testcase is included.
> It is not a clean backport - it has to change return switch expressions to their old format and there are also other 2 minor conflicts.
> 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/692 as a prerequisite.
The CI errors are false positives, they are the same as unpatched sources tested in: https://github.com/jankratochvil/jdk8u-dev/pull/1
-------------
PR Comment: https://git.openjdk.org/jdk8u-dev/pull/693#issuecomment-3270226385
More information about the jdk8u-dev
mailing list