提交 6c9941d5 编写于 作者: S sherman

6923692: java/classes_util TEST_BUG:ReadZip.java fails when

Summary: to create the test file at test.dir
Reviewed-by: alanb
上级 14c12b45
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
*/ */
/* @test /* @test
@bug 4241361 4842702 4985614 6646605 5032358 @bug 4241361 4842702 4985614 6646605 5032358 6923692
@summary Make sure we can read a zip file. @summary Make sure we can read a zip file.
*/ */
...@@ -59,7 +59,7 @@ public class ReadZip { ...@@ -59,7 +59,7 @@ public class ReadZip {
FileInputStream fis = new FileInputStream( FileInputStream fis = new FileInputStream(
new File(System.getProperty("test.src", "."), new File(System.getProperty("test.src", "."),
"input.zip")); "input.zip"));
File newZip = new File(System.getProperty("test.src", "."), File newZip = new File(System.getProperty("test.dir", "."),
"input2.zip"); "input2.zip");
FileOutputStream fos = new FileOutputStream(newZip); FileOutputStream fos = new FileOutputStream(newZip);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册