On Sat, 6 Feb 2021 01:23:54 GMT, Alexander Zvegintsev <azveg...@openjdk.org> wrote:
>> 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 five additional >> commits since the last revision: >> >> - Update WriteProfileToFile.java >> - Merge branch 'master' into JDK-8261200 >> - Update ICC_Profile.java >> - Update ICC_Profile.java >> - Initial fix > > test/jdk/java/awt/color/ICC_Profile/WriteProfileToFile.java line 83: > >> 81: } >> 82: } >> 83: } > > Just a matter of taste, but if you OK with not elaborating why arrays > differs, the method may be shortened with `Arrays.equals()` usage. updated > test/jdk/java/awt/color/ICC_Profile/WriteProfileToFile.java line 43: > >> 41: testViaDataArray(gold); >> 42: testViaFile(gold); >> 43: testViaStream(gold); > > Are we OK with not calling `testViaFile()` and `testViaStream` in case of > `testViaDataArray()` failure? yeah, it intentionally "fails fast". ------------- PR: https://git.openjdk.java.net/jdk/pull/2421