Searched refs:runWithPermissions (Results 1 – 4 of 4) sorted by relevance
356 runWithPermissions(r, in testPrivilegedThreadFactory()420 runWithPermissions(r, in testPrivilegedCallableUsingCCLWithPrivs()506 runWithPermissions(r, in testPrivilegedCallableWithPrivs()
102 runWithPermissions(r, in testSubmitPrivilegedAction()123 runWithPermissions(r); in testSubmitPrivilegedExceptionAction()145 runWithPermissions(r); in testSubmitFailedPrivilegedExceptionAction()
494 runWithPermissions(r, new RuntimePermission("modifyThread")); in testSubmitPrivilegedAction()515 runWithPermissions(r, new RuntimePermission("modifyThread")); in testSubmitPrivilegedExceptionAction()541 runWithPermissions(r, new RuntimePermission("modifyThread")); in testSubmitFailedPrivilegedExceptionAction()
508 public void runWithPermissions(Runnable r, Permission... permissions) { in runWithPermissions() method in JSR166TestCase526 runWithPermissions(r); in runWithoutPermissions()