--- old/test/lib/security/java.policy/Ext_AllPolicy.java 2014-04-22 11:56:46.469629714 -0700 +++ new/test/lib/security/java.policy/Ext_AllPolicy.java 2014-04-22 11:56:46.309629712 -0700 @@ -35,7 +35,12 @@ SecurityManager sm = System.getSecurityManager(); if (sm != null) { + try { sm.checkPermission(mine); + throw new RuntimeException(mine + " expected to deny access"); + } catch (AccessControlException e) { + // Default has no privilege. + } } } }