8134456: jdk/test/java/lang/SecurityManager/CheckPackageAccess.java failing on several platforms
Summary: Add new restricted packages to the test code
Reviewed-by: mullan, mchung
Contributed-by: peter.brunet@oracle.com
--- a/jdk/test/java/lang/SecurityManager/RestrictedPackages.java Thu Aug 27 18:12:45 2015 -0700
+++ b/jdk/test/java/lang/SecurityManager/RestrictedPackages.java Thu Aug 27 22:35:24 2015 -0500
@@ -77,7 +77,8 @@
"jdk.nashorn.internal.",
"jdk.nashorn.tools.",
"jdk.tools.jimage.",
- "com.sun.activation.registries."
+ "com.sun.activation.registries.",
+ "com.sun.java.accessibility.util.internal."
};
/*
@@ -126,6 +127,9 @@
if (OS_NAME.contains("OS X")) {
pkgs.add("apple."); // add apple package for OS X
}
+ if (OS_NAME.contains("Win")) {
+ pkgs.add("com.sun.java.accessibility.internal."); // add Win only package
+ }
return pkgs;
}