test/java/nio/file/spi/SetDefaultProvider.java

Print this page

        

*** 20,37 **** * or visit www.oracle.com if you need additional information or have any * questions. */ /* @test ! * @bug 4313887 * @summary Unit test for java.nio.file.spi.FileSystemProvider * @build TestProvider SetDefaultProvider * @run main/othervm -Djava.nio.file.spi.DefaultFileSystemProvider=TestProvider SetDefaultProvider */ import java.nio.file.*; - import java.nio.file.spi.*; public class SetDefaultProvider { public static void main(String[] args) throws Exception { Class<?> c = FileSystems.getDefault().provider().getClass(); --- 20,36 ---- * or visit www.oracle.com if you need additional information or have any * questions. */ /* @test ! * @bug 4313887 7006126 * @summary Unit test for java.nio.file.spi.FileSystemProvider * @build TestProvider SetDefaultProvider * @run main/othervm -Djava.nio.file.spi.DefaultFileSystemProvider=TestProvider SetDefaultProvider */ import java.nio.file.*; public class SetDefaultProvider { public static void main(String[] args) throws Exception { Class<?> c = FileSystems.getDefault().provider().getClass();