Home
last modified time | relevance | path

Searched refs:runWithPermissions (Results 1 – 4 of 4) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DExecutorsTest.java356 runWithPermissions(r, in testPrivilegedThreadFactory()
420 runWithPermissions(r, in testPrivilegedCallableUsingCCLWithPrivs()
506 runWithPermissions(r, in testPrivilegedCallableWithPrivs()
DAbstractExecutorServiceTest.java102 runWithPermissions(r, in testSubmitPrivilegedAction()
123 runWithPermissions(r); in testSubmitPrivilegedExceptionAction()
145 runWithPermissions(r); in testSubmitFailedPrivilegedExceptionAction()
DForkJoinPoolTest.java494 runWithPermissions(r, new RuntimePermission("modifyThread")); in testSubmitPrivilegedAction()
515 runWithPermissions(r, new RuntimePermission("modifyThread")); in testSubmitPrivilegedExceptionAction()
541 runWithPermissions(r, new RuntimePermission("modifyThread")); in testSubmitFailedPrivilegedExceptionAction()
DJSR166TestCase.java508 public void runWithPermissions(Runnable r, Permission... permissions) { in runWithPermissions() method in JSR166TestCase
526 runWithPermissions(r); in runWithoutPermissions()