test/jdk/nio/zipfs/PathOps.java
Print this page
*** 25,35 ****
import java.net.*;
import java.util.*;
import java.io.IOException;
/**
! * Tests path operations for zip provider.
*/
public class PathOps {
static final java.io.PrintStream out = System.out;
--- 25,38 ----
import java.net.*;
import java.util.*;
import java.io.IOException;
/**
! *
! * @test
! * @bug 8038500
! * @summary Tests path operations for zip provider.
*/
public class PathOps {
static final java.io.PrintStream out = System.out;
*** 445,456 ****
}
}
public static void main(String[] args) throws Throwable {
!
! Path zipfile = Paths.get(args[0]);
fs = FileSystems.newFileSystem(zipfile, null);
npes();
doPathOpTests();
fs.close();
}
--- 448,459 ----
}
}
public static void main(String[] args) throws Throwable {
! Path zipfile = Paths.get(System.getProperty("test.jdk"),
! "jre/lib/ext/zipfs.jar");
fs = FileSystems.newFileSystem(zipfile, null);
npes();
doPathOpTests();
fs.close();
}