[OpenJDK 2D-Dev] RFR: 6211198: ICC_Profile.getInstance(byte[]): IAE is not specified
Sergey Bylokhov
serb at openjdk.java.net
Sun Jan 31 11:58:56 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.
-------------
Commit messages:
- Merge branch 'master' into JDK-6211198
- Initial fix
Changes: https://git.openjdk.java.net/jdk/pull/2328/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2328&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-6211198
Stats: 51 lines in 3 files changed: 44 ins; 5 del; 2 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