--- a/jdk/test/jdk/internal/jrtfs/WithSecurityManager.java Wed Jul 05 21:36:10 2017 +0200
+++ b/jdk/test/jdk/internal/jrtfs/WithSecurityManager.java Mon Apr 18 10:57:11 2016 -0700
@@ -31,6 +31,7 @@
import java.nio.file.FileSystems;
import java.nio.file.Path;
import java.nio.file.Paths;
+import java.util.Collections;
public class WithSecurityManager {
public static void main(String[] args) throws Exception {
@@ -61,7 +62,7 @@
// check FileSystems.newFileSystem
try {
- FileSystems.newFileSystem(URI.create("jrt:/"), null);
+ FileSystems.newFileSystem(URI.create("jrt:/"), Collections.emptyMap());
if (!allow) throw new RuntimeException("access not expected");
} catch (SecurityException se) {
if (allow)