[OpenJDK 2D-Dev] RFR: 6211198: ICC_Profile.getInstance(byte[]): IAE is not specified [v2]

Sergey Bylokhov serb at openjdk.java.net
Sat Feb 6 07:05:05 UTC 2021


> The specification of the java.awt.color.ICC_Profile.getInstance(byte[]) is updated.
> Its implementation changed over time, and different exceptions were thrown, but since JDK-8013430 always throws an IllegalArgumentException on null and invalid data.

Sergey Bylokhov 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. The pull request contains three additional commits since the last revision:

 - Merge branch 'master' into JDK-6211198
 - Merge branch 'master' into JDK-6211198
 - Initial fix

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/2328/files
  - new: https://git.openjdk.java.net/jdk/pull/2328/files/f1d171a9..12f673c1

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2328&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2328&range=00-01

  Stats: 15457 lines in 693 files changed: 9560 ins; 3448 del; 2449 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2328.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2328/head:pull/2328

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


More information about the 2d-dev mailing list