--- jsr166/src/test/tck/ExecutorsTest.java 2010/09/16 00:52:49 1.31 +++ jsr166/src/test/tck/ExecutorsTest.java 2010/10/04 03:34:21 1.32 @@ -399,6 +399,9 @@ public class ExecutorsTest extends JSR16 * Without permissions, calling privilegedCallable throws ACE */ public void testprivilegedCallableWithNoPrivs() throws Exception { + // Avoid classloader-related SecurityExceptions in swingui.TestRunner + Executors.privilegedCallable(new CheckCCL()); + Runnable r = new CheckedRunnable() { public void realRun() throws Exception { if (System.getSecurityManager() == null)