6923692: java/classes_util TEST_BUG:ReadZip.java fails when
authorsherman
Sat, 06 Feb 2010 09:26:57 -0800
changeset 4822 bcc6dbec57d8
parent 4821 c4b695155c91
child 4823 614b51f9e884
child 4915 fe435c741ec8
6923692: java/classes_util TEST_BUG:ReadZip.java fails when Summary: to create the test file at test.dir Reviewed-by: alanb
jdk/test/java/util/zip/ZipFile/ReadZip.java
--- a/jdk/test/java/util/zip/ZipFile/ReadZip.java	Fri Feb 05 17:05:53 2010 -0800
+++ b/jdk/test/java/util/zip/ZipFile/ReadZip.java	Sat Feb 06 09:26:57 2010 -0800
@@ -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 @@
         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);