-
Bug
-
Resolution: Fixed
-
P2
-
8
-
b58
-
generic
-
generic
-
Verified
Introduced due to 6330275
Changeset http://hg.openjdk.java.net/jdk8/tl/jdk/rev/c8dbb9e19355
+ private static void diff(String fname1, String fname2) throws Exception {
+ if (!Arrays.equals(Files.readAllBytes(Paths.get(fname1)),
+ Files.readAllBytes(Paths.get(fname1)))) {
+ throw new Exception(
+ "files " + fname1 + " and " + fname2 + " differ");
+ }
+ }
There is a error in the diff, reads n compares fname1 with itself, instead of fname2
Changeset http://hg.openjdk.java.net/jdk8/tl/jdk/rev/c8dbb9e19355
+ private static void diff(String fname1, String fname2) throws Exception {
+ if (!Arrays.equals(Files.readAllBytes(Paths.get(fname1)),
+ Files.readAllBytes(Paths.get(fname1)))) {
+ throw new Exception(
+ "files " + fname1 + " and " + fname2 + " differ");
+ }
+ }
There is a error in the diff, reads n compares fname1 with itself, instead of fname2
- relates to
-
JDK-6330275 Rework the PaddingTest regression test.
-
- Closed
-