changeset 2120:445b9928fb70

6923692: java/classes_util TEST_BUG:ReadZip.java fails when Summary: to create the test file at test.dir Reviewed-by: alanb
author sherman
date Sat, 06 Feb 2010 09:26:57 -0800
parents 7136683a33d2
children e79d95ea2e81 83c34a6b1458
files test/java/util/zip/ZipFile/ReadZip.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/util/zip/ZipFile/ReadZip.java	Fri Feb 05 17:05:53 2010 -0800
+++ b/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);