-
Bug
-
Resolution: Unresolved
-
P3
-
8, 11, 17, 21, 23, 24, 25
-
generic
-
generic
A check needs to be added to setData() which prevent modifying Built-In profile.
Built-in Profiles are singleton objects and if the user happens to modify the profile data via setData(), the modified version of the profile is returned each time the same built-in profile is requested via getInstance().
It is better to protect Built-in profiles from direct modification by adding a check in setData() such that only custom profiles are allowed to be updated and if it is Built-In profile then throw IAE.
Built-in Profiles are singleton objects and if the user happens to modify the profile data via setData(), the modified version of the profile is returned each time the same built-in profile is requested via getInstance().
It is better to protect Built-in profiles from direct modification by adding a check in setData() such that only custom profiles are allowed to be updated and if it is Built-In profile then throw IAE.
- csr for
-
JDK-8350025 Add a check in setData() to restrict the update of Built-In ICC_Profiles
-
- Draft
-
- is blocked by
-
JDK-8347377 Add validation checks for ICC_Profile header fields
-
- Resolved
-
- links to
-
Review(master) openjdk/jdk/23606