# HG changeset patch # User lancea # Date 1573746872 18000 # Node ID 3e4d8b5856f3ae074be2fdfce96094feb7968b4d # Parent 95a99e617f28c8b0271b599c7e4e1902542de9ec 8234080: jdk/nio/zipfs/CRCWriteTest.java fails Reviewed-by: clanger, amlu diff -r 95a99e617f28 -r 3e4d8b5856f3 test/jdk/jdk/nio/zipfs/CRCWriteTest.java --- a/test/jdk/jdk/nio/zipfs/CRCWriteTest.java Thu Nov 14 15:24:35 2019 +0100 +++ b/test/jdk/jdk/nio/zipfs/CRCWriteTest.java Thu Nov 14 10:54:32 2019 -0500 @@ -57,10 +57,10 @@ * can be used successfully with the OutputStream write methods */ @Test - private void zipFsOsDeflatedWriteTest() throws Exception { + public void zipFsOsDeflatedWriteTest() throws Exception { Files.deleteIfExists(JAR_FILE); String[] msg = {"Hello ", "Tennis Anyone", "!!!!"}; - Entry e0 = Entry.of("Entry-0", ZipEntry.DEFLATED, Arrays.toString(msg)); + Entry e0 = Entry.of("Entry-0", ZipEntry.DEFLATED, String.join("",msg)); try (FileSystem zipfs = FileSystems.newFileSystem(JAR_FILE, Map.of("create", "true"))) {