changeset 12656:4947810137ae jdk9-b80

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
author ptbrunet
date Thu, 27 Aug 2015 22:35:24 -0500
parents 3142555a4a1a
children e26938360e58 2b3b9aa80615
files test/java/lang/SecurityManager/RestrictedPackages.java
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/lang/SecurityManager/RestrictedPackages.java	Thu Aug 27 18:12:45 2015 -0700
+++ b/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;
     }