From ff1e82994befd1babc7cb39bfbc9da72b3ba1170 Mon Sep 17 00:00:00 2001 From: Xueming Shen Date: Sat, 6 Feb 2010 09:26:57 -0800 Subject: [PATCH] 6923692: java/classes_util TEST_BUG:ReadZip.java fails when To create the test file at test.dir Reviewed-by: alanb --- jdk/test/java/util/zip/ZipFile/ReadZip.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jdk/test/java/util/zip/ZipFile/ReadZip.java b/jdk/test/java/util/zip/ZipFile/ReadZip.java index 99fb7baaf39..78f202cd302 100644 --- a/jdk/test/java/util/zip/ZipFile/ReadZip.java +++ b/jdk/test/java/util/zip/ZipFile/ReadZip.java @@ -22,7 +22,7 @@ */ /* @test - @bug 4241361 4842702 4985614 6646605 5032358 + @bug 4241361 4842702 4985614 6646605 5032358 6923692 @summary Make sure we can read a zip file. */ @@ -59,7 +59,7 @@ public class ReadZip { FileInputStream fis = new FileInputStream( new File(System.getProperty("test.src", "."), "input.zip")); - File newZip = new File(System.getProperty("test.src", "."), + File newZip = new File(System.getProperty("test.dir", "."), "input2.zip"); FileOutputStream fos = new FileOutputStream(newZip);