ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/ExecutorsTest.java
(Generate patch)

Comparing jsr166/src/test/tck/ExecutorsTest.java (file contents):
Revision 1.31 by jsr166, Thu Sep 16 00:52:49 2010 UTC vs.
Revision 1.32 by jsr166, Mon Oct 4 03:34:21 2010 UTC

# Line 399 | Line 399 | public class ExecutorsTest extends JSR16
399       * Without permissions, calling privilegedCallable throws ACE
400       */
401      public void testprivilegedCallableWithNoPrivs() throws Exception {
402 +        // Avoid classloader-related SecurityExceptions in swingui.TestRunner
403 +        Executors.privilegedCallable(new CheckCCL());
404 +
405          Runnable r = new CheckedRunnable() {
406              public void realRun() throws Exception {
407                  if (System.getSecurityManager() == null)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines