Blame SOURCES/8072932or8074489.patch

0f9da3
0f9da3
# HG changeset patch
0f9da3
# User kevinw
0f9da3
# Date 1425476514 0
0f9da3
# Node ID 444ae429c77be53df0b35483d9cf6ce17118e197
0f9da3
# Parent  569ad82d3904f66d372edfd58532f4e1b1b0b20a
0f9da3
8072932: Test fails with java.security.AccessControlException: access denied ("java.security.SecurityPermission" "getDomainCombiner")
0f9da3
Reviewed-by: jbachorik
0f9da3
0f9da3
diff -r 569ad82d3904 -r 444ae429c77b src/share/classes/java/security/ProtectionDomain.java
0f9da3
--- openjdk/jdk/src/share/classes/java/security/ProtectionDomain.java	Mon Mar 02 18:38:00 2015 +0000
0f9da3
+++ openjdk/jdk/src/share/classes/java/security/ProtectionDomain.java	Wed Mar 04 13:41:54 2015 +0000
0f9da3
@@ -88,7 +88,7 @@
0f9da3
         }
0f9da3
 
0f9da3
         private static AccessControlContext getCombinedACC(AccessControlContext context, AccessControlContext stack) {
0f9da3
-            AccessControlContext acc = new AccessControlContext(context, stack.getDomainCombiner(), true);
0f9da3
+            AccessControlContext acc = new AccessControlContext(context, stack.getCombiner(), true);
0f9da3
 
0f9da3
             return new AccessControlContext(stack.getContext(), acc).optimize();
0f9da3
         }
0f9da3