[OpenJDK 2D-Dev] RFR: 8264002: Delete outdated assumptions about ColorSpace initialization

Sergey Bylokhov serb at openjdk.java.net
Tue Mar 23 05:00:49 UTC 2021

Some codes have outdated assumptions about the initialization of ColorSpace class.
 - The ColorSpace.getInstance() will never throw an IllegalArgumentException for the builtin profiles
 - The ColorSpace.getInstance() will not trigger initialisation of the CMM classes


Commit messages:
 - Initial version

Changes: https://git.openjdk.java.net/jdk/pull/3140/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3140&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8264002
  Stats: 168 lines in 6 files changed: 45 ins; 94 del; 29 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3140.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3140/head:pull/3140

PR: https://git.openjdk.java.net/jdk/pull/3140

More information about the 2d-dev mailing list