8134456: jdk/test/java/lang/SecurityManager/CheckPackageAccess.java failing on several platforms
Add new restricted packages to the test code Reviewed-by: mullan, mchung
This commit is contained in:
parent
dc85decead
commit
1dbf8f4761
@ -77,7 +77,8 @@ final class RestrictedPackages {
|
||||
"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 @@ final class RestrictedPackages {
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user