--- jsr166/src/test/tck/CountedCompleterTest.java 2013/03/22 16:29:42 1.4 +++ jsr166/src/test/tck/CountedCompleterTest.java 2013/04/16 05:49:18 1.5 @@ -524,7 +524,7 @@ public class CountedCompleterTest extend * completed tasks; getRawResult returns null. */ public void testInvoke() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF f = new LCCF(null, 8); assertNull(f.invoke()); @@ -540,7 +540,7 @@ public class CountedCompleterTest extend * completed tasks */ public void testQuietlyInvoke() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF f = new LCCF(null, 8); f.quietlyInvoke(); @@ -554,7 +554,7 @@ public class CountedCompleterTest extend * join of a forked task returns when task completes */ public void testForkJoin() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF f = new LCCF(null, 8); assertSame(f, f.fork()); @@ -569,7 +569,7 @@ public class CountedCompleterTest extend * get of a forked task returns when task completes */ public void testForkGet() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() throws Exception { CCF f = new LCCF(null, 8); assertSame(f, f.fork()); @@ -584,7 +584,7 @@ public class CountedCompleterTest extend * timed get of a forked task returns when task completes */ public void testForkTimedGet() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() throws Exception { CCF f = new LCCF(null, 8); assertSame(f, f.fork()); @@ -599,7 +599,7 @@ public class CountedCompleterTest extend * timed get with null time unit throws NPE */ public void testForkTimedGetNPE() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() throws Exception { CCF f = new LCCF(null, 8); assertSame(f, f.fork()); @@ -615,7 +615,7 @@ public class CountedCompleterTest extend * quietlyJoin of a forked task returns when task completes */ public void testForkQuietlyJoin() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF f = new LCCF(null, 8); assertSame(f, f.fork()); @@ -631,7 +631,7 @@ public class CountedCompleterTest extend * getQueuedTaskCount returns 0 when quiescent */ public void testForkHelpQuiesce() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF f = new LCCF(null, 8); assertSame(f, f.fork()); @@ -647,7 +647,7 @@ public class CountedCompleterTest extend * invoke task throws exception when task completes abnormally */ public void testAbnormalInvoke() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { FailingCCF f = new LFCCF(null, 8); try { @@ -664,7 +664,7 @@ public class CountedCompleterTest extend * quietlyInvoke task returns when task completes abnormally */ public void testAbnormalQuietlyInvoke() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { FailingCCF f = new LFCCF(null, 8); f.quietlyInvoke(); @@ -678,7 +678,7 @@ public class CountedCompleterTest extend * join of a forked task throws exception when task completes abnormally */ public void testAbnormalForkJoin() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { FailingCCF f = new LFCCF(null, 8); assertSame(f, f.fork()); @@ -696,7 +696,7 @@ public class CountedCompleterTest extend * get of a forked task throws exception when task completes abnormally */ public void testAbnormalForkGet() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() throws Exception { FailingCCF f = new LFCCF(null, 8); assertSame(f, f.fork()); @@ -716,7 +716,7 @@ public class CountedCompleterTest extend * timed get of a forked task throws exception when task completes abnormally */ public void testAbnormalForkTimedGet() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() throws Exception { FailingCCF f = new LFCCF(null, 8); assertSame(f, f.fork()); @@ -736,7 +736,7 @@ public class CountedCompleterTest extend * quietlyJoin of a forked task returns when task completes abnormally */ public void testAbnormalForkQuietlyJoin() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { FailingCCF f = new LFCCF(null, 8); assertSame(f, f.fork()); @@ -751,7 +751,7 @@ public class CountedCompleterTest extend * invoke task throws exception when task cancelled */ public void testCancelledInvoke() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF f = new LCCF(null, 8); assertTrue(f.cancel(true)); @@ -769,7 +769,7 @@ public class CountedCompleterTest extend * join of a forked task throws exception when task cancelled */ public void testCancelledForkJoin() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF f = new LCCF(null, 8); assertTrue(f.cancel(true)); @@ -788,7 +788,7 @@ public class CountedCompleterTest extend * get of a forked task throws exception when task cancelled */ public void testCancelledForkGet() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() throws Exception { CCF f = new LCCF(null, 8); assertTrue(f.cancel(true)); @@ -807,7 +807,7 @@ public class CountedCompleterTest extend * timed get of a forked task throws exception when task cancelled */ public void testCancelledForkTimedGet() throws Exception { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() throws Exception { CCF f = new LCCF(null, 8); assertTrue(f.cancel(true)); @@ -826,7 +826,7 @@ public class CountedCompleterTest extend * quietlyJoin of a forked task returns when task cancelled */ public void testCancelledForkQuietlyJoin() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF f = new LCCF(null, 8); assertTrue(f.cancel(true)); @@ -842,7 +842,7 @@ public class CountedCompleterTest extend */ public void testGetPool() { final ForkJoinPool mainPool = mainPool(); - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { assertSame(mainPool, getPool()); }}; @@ -853,7 +853,7 @@ public class CountedCompleterTest extend * getPool of non-FJ task returns null */ public void testGetPool2() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { assertNull(getPool()); }}; @@ -864,7 +864,7 @@ public class CountedCompleterTest extend * inForkJoinPool of executing task returns true */ public void testInForkJoinPool() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { assertTrue(inForkJoinPool()); }}; @@ -875,7 +875,7 @@ public class CountedCompleterTest extend * inForkJoinPool of non-FJ task returns false */ public void testInForkJoinPool2() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { assertFalse(inForkJoinPool()); }}; @@ -886,7 +886,7 @@ public class CountedCompleterTest extend * setRawResult(null) succeeds */ public void testSetRawResult() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { setRawResult(null); assertNull(getRawResult()); @@ -898,7 +898,7 @@ public class CountedCompleterTest extend * invoke task throws exception after invoking completeExceptionally */ public void testCompleteExceptionally2() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF f = new LCCF(null, 8); f.completeExceptionally(new FJException()); @@ -916,7 +916,7 @@ public class CountedCompleterTest extend * invokeAll(t1, t2) invokes all task arguments */ public void testInvokeAll2() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF f = new LCCF(null, 8); CCF g = new LCCF(null, 9); @@ -933,7 +933,7 @@ public class CountedCompleterTest extend * invokeAll(tasks) with 1 argument invokes task */ public void testInvokeAll1() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF f = new LCCF(null, 8); invokeAll(f); @@ -947,7 +947,7 @@ public class CountedCompleterTest extend * invokeAll(tasks) with > 2 argument invokes tasks */ public void testInvokeAll3() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF f = new LCCF(null, 8); CCF g = new LCCF(null, 9); @@ -967,7 +967,7 @@ public class CountedCompleterTest extend * invokeAll(collection) invokes all tasks in the collection */ public void testInvokeAllCollection() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF f = new LCCF(null, 8); CCF g = new LCCF(null, 9); @@ -991,7 +991,7 @@ public class CountedCompleterTest extend * invokeAll(tasks) with any null task throws NPE */ public void testInvokeAllNPE() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF f = new LCCF(null, 8); CCF g = new LCCF(null, 9); @@ -1008,7 +1008,7 @@ public class CountedCompleterTest extend * invokeAll(t1, t2) throw exception if any task does */ public void testAbnormalInvokeAll2() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF f = new LCCF(null, 8); FailingCCF g = new LFCCF(null, 9); @@ -1026,7 +1026,7 @@ public class CountedCompleterTest extend * invokeAll(tasks) with 1 argument throws exception if task does */ public void testAbnormalInvokeAll1() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { FailingCCF g = new LFCCF(null, 9); try { @@ -1043,7 +1043,7 @@ public class CountedCompleterTest extend * invokeAll(tasks) with > 2 argument throws exception if any task does */ public void testAbnormalInvokeAll3() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF f = new LCCF(null, 8); FailingCCF g = new LFCCF(null, 9); @@ -1062,7 +1062,7 @@ public class CountedCompleterTest extend * invokeAll(collection) throws exception if any task does */ public void testAbnormalInvokeAllCollection() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { FailingCCF f = new LFCCF(null, 8); CCF g = new LCCF(null, 9); @@ -1086,7 +1086,7 @@ public class CountedCompleterTest extend * and suppresses execution */ public void testTryUnfork() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF g = new LCCF(null, 9); assertSame(g, g.fork()); @@ -1105,7 +1105,7 @@ public class CountedCompleterTest extend * there are more tasks than threads */ public void testGetSurplusQueuedTaskCount() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF h = new LCCF(null, 7); assertSame(h, h.fork()); @@ -1127,7 +1127,7 @@ public class CountedCompleterTest extend * peekNextLocalTask returns most recent unexecuted task. */ public void testPeekNextLocalTask() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF g = new LCCF(null, 9); assertSame(g, g.fork()); @@ -1147,7 +1147,7 @@ public class CountedCompleterTest extend * executing it */ public void testPollNextLocalTask() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF g = new LCCF(null, 9); assertSame(g, g.fork()); @@ -1166,7 +1166,7 @@ public class CountedCompleterTest extend * pollTask returns an unexecuted task without executing it */ public void testPollTask() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF g = new LCCF(null, 9); assertSame(g, g.fork()); @@ -1184,7 +1184,7 @@ public class CountedCompleterTest extend * peekNextLocalTask returns least recent unexecuted task in async mode */ public void testPeekNextLocalTaskAsync() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF g = new LCCF(null, 9); assertSame(g, g.fork()); @@ -1205,7 +1205,7 @@ public class CountedCompleterTest extend * executing it, in async mode */ public void testPollNextLocalTaskAsync() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF g = new LCCF(null, 9); assertSame(g, g.fork()); @@ -1225,7 +1225,7 @@ public class CountedCompleterTest extend * async mode */ public void testPollTaskAsync() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF g = new LCCF(null, 9); assertSame(g, g.fork()); @@ -1248,7 +1248,7 @@ public class CountedCompleterTest extend * completed tasks; getRawResult returns null. */ public void testInvokeSingleton() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF f = new LCCF(null, 8); assertNull(f.invoke()); @@ -1264,7 +1264,7 @@ public class CountedCompleterTest extend * completed tasks */ public void testQuietlyInvokeSingleton() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF f = new LCCF(null, 8); f.quietlyInvoke(); @@ -1278,7 +1278,7 @@ public class CountedCompleterTest extend * join of a forked task returns when task completes */ public void testForkJoinSingleton() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF f = new LCCF(null, 8); assertSame(f, f.fork()); @@ -1293,7 +1293,7 @@ public class CountedCompleterTest extend * get of a forked task returns when task completes */ public void testForkGetSingleton() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() throws Exception { CCF f = new LCCF(null, 8); assertSame(f, f.fork()); @@ -1308,7 +1308,7 @@ public class CountedCompleterTest extend * timed get of a forked task returns when task completes */ public void testForkTimedGetSingleton() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() throws Exception { CCF f = new LCCF(null, 8); assertSame(f, f.fork()); @@ -1323,7 +1323,7 @@ public class CountedCompleterTest extend * timed get with null time unit throws NPE */ public void testForkTimedGetNPESingleton() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() throws Exception { CCF f = new LCCF(null, 8); assertSame(f, f.fork()); @@ -1339,7 +1339,7 @@ public class CountedCompleterTest extend * quietlyJoin of a forked task returns when task completes */ public void testForkQuietlyJoinSingleton() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF f = new LCCF(null, 8); assertSame(f, f.fork()); @@ -1355,7 +1355,7 @@ public class CountedCompleterTest extend * getQueuedTaskCount returns 0 when quiescent */ public void testForkHelpQuiesceSingleton() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF f = new LCCF(null, 8); assertSame(f, f.fork()); @@ -1371,7 +1371,7 @@ public class CountedCompleterTest extend * invoke task throws exception when task completes abnormally */ public void testAbnormalInvokeSingleton() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { FailingCCF f = new LFCCF(null, 8); try { @@ -1388,7 +1388,7 @@ public class CountedCompleterTest extend * quietlyInvoke task returns when task completes abnormally */ public void testAbnormalQuietlyInvokeSingleton() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { FailingCCF f = new LFCCF(null, 8); f.quietlyInvoke(); @@ -1402,7 +1402,7 @@ public class CountedCompleterTest extend * join of a forked task throws exception when task completes abnormally */ public void testAbnormalForkJoinSingleton() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { FailingCCF f = new LFCCF(null, 8); assertSame(f, f.fork()); @@ -1420,7 +1420,7 @@ public class CountedCompleterTest extend * get of a forked task throws exception when task completes abnormally */ public void testAbnormalForkGetSingleton() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() throws Exception { FailingCCF f = new LFCCF(null, 8); assertSame(f, f.fork()); @@ -1440,7 +1440,7 @@ public class CountedCompleterTest extend * timed get of a forked task throws exception when task completes abnormally */ public void testAbnormalForkTimedGetSingleton() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() throws Exception { FailingCCF f = new LFCCF(null, 8); assertSame(f, f.fork()); @@ -1460,7 +1460,7 @@ public class CountedCompleterTest extend * quietlyJoin of a forked task returns when task completes abnormally */ public void testAbnormalForkQuietlyJoinSingleton() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { FailingCCF f = new LFCCF(null, 8); assertSame(f, f.fork()); @@ -1475,7 +1475,7 @@ public class CountedCompleterTest extend * invoke task throws exception when task cancelled */ public void testCancelledInvokeSingleton() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF f = new LCCF(null, 8); assertTrue(f.cancel(true)); @@ -1493,7 +1493,7 @@ public class CountedCompleterTest extend * join of a forked task throws exception when task cancelled */ public void testCancelledForkJoinSingleton() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF f = new LCCF(null, 8); assertTrue(f.cancel(true)); @@ -1512,7 +1512,7 @@ public class CountedCompleterTest extend * get of a forked task throws exception when task cancelled */ public void testCancelledForkGetSingleton() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() throws Exception { CCF f = new LCCF(null, 8); assertTrue(f.cancel(true)); @@ -1531,7 +1531,7 @@ public class CountedCompleterTest extend * timed get of a forked task throws exception when task cancelled */ public void testCancelledForkTimedGetSingleton() throws Exception { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() throws Exception { CCF f = new LCCF(null, 8); assertTrue(f.cancel(true)); @@ -1550,7 +1550,7 @@ public class CountedCompleterTest extend * quietlyJoin of a forked task returns when task cancelled */ public void testCancelledForkQuietlyJoinSingleton() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF f = new LCCF(null, 8); assertTrue(f.cancel(true)); @@ -1565,7 +1565,7 @@ public class CountedCompleterTest extend * invoke task throws exception after invoking completeExceptionally */ public void testCompleteExceptionallySingleton() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF f = new LCCF(null, 8); f.completeExceptionally(new FJException()); @@ -1583,7 +1583,7 @@ public class CountedCompleterTest extend * invokeAll(t1, t2) invokes all task arguments */ public void testInvokeAll2Singleton() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF f = new LCCF(null, 8); CCF g = new LCCF(null, 9); @@ -1600,7 +1600,7 @@ public class CountedCompleterTest extend * invokeAll(tasks) with 1 argument invokes task */ public void testInvokeAll1Singleton() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF f = new LCCF(null, 8); invokeAll(f); @@ -1614,7 +1614,7 @@ public class CountedCompleterTest extend * invokeAll(tasks) with > 2 argument invokes tasks */ public void testInvokeAll3Singleton() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF f = new LCCF(null, 8); CCF g = new LCCF(null, 9); @@ -1634,7 +1634,7 @@ public class CountedCompleterTest extend * invokeAll(collection) invokes all tasks in the collection */ public void testInvokeAllCollectionSingleton() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF f = new LCCF(null, 8); CCF g = new LCCF(null, 9); @@ -1658,7 +1658,7 @@ public class CountedCompleterTest extend * invokeAll(tasks) with any null task throws NPE */ public void testInvokeAllNPESingleton() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF f = new LCCF(null, 8); CCF g = new LCCF(null, 9); @@ -1675,7 +1675,7 @@ public class CountedCompleterTest extend * invokeAll(t1, t2) throw exception if any task does */ public void testAbnormalInvokeAll2Singleton() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF f = new LCCF(null, 8); FailingCCF g = new LFCCF(null, 9); @@ -1693,7 +1693,7 @@ public class CountedCompleterTest extend * invokeAll(tasks) with 1 argument throws exception if task does */ public void testAbnormalInvokeAll1Singleton() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { FailingCCF g = new LFCCF(null, 9); try { @@ -1710,7 +1710,7 @@ public class CountedCompleterTest extend * invokeAll(tasks) with > 2 argument throws exception if any task does */ public void testAbnormalInvokeAll3Singleton() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { CCF f = new LCCF(null, 8); FailingCCF g = new LFCCF(null, 9); @@ -1729,7 +1729,7 @@ public class CountedCompleterTest extend * invokeAll(collection) throws exception if any task does */ public void testAbnormalInvokeAllCollectionSingleton() { - ForkJoinTask a = new CheckedFJTask() { + ForkJoinTask a = new CheckedFJTask() { public void realCompute() { FailingCCF f = new LFCCF(null, 8); CCF g = new LCCF(null, 9);