changeset 22948 | 2cf7e7202386 |
parent 9035 | 1255eb81cc2f |
child 30046 | cf2c86e1819e |
--- a/jdk/test/java/util/zip/ZipFile/ReadZip.java Mon Feb 10 14:01:16 2014 +0100 +++ b/jdk/test/java/util/zip/ZipFile/ReadZip.java Mon Feb 10 14:35:42 2014 +0000 @@ -63,6 +63,8 @@ Files.copy(Paths.get(System.getProperty("test.src", ""), "input.zip"), newZip.toPath(), StandardCopyOption.REPLACE_EXISTING); + newZip.setWritable(true); + // pad some bytes try (OutputStream os = Files.newOutputStream(newZip.toPath(), StandardOpenOption.APPEND)) {