--- jsr166/src/test/tck/ForkJoinPoolTest.java 2009/08/05 00:49:40 1.9 +++ jsr166/src/test/tck/ForkJoinPoolTest.java 2009/11/21 10:25:05 1.10 @@ -170,8 +170,7 @@ public class ForkJoinPoolTest extends JS try { new ForkJoinPool(-1); shouldThrow(); - } - catch (IllegalArgumentException success) {} + } catch (IllegalArgumentException success) {} } /** @@ -181,8 +180,7 @@ public class ForkJoinPoolTest extends JS try { new ForkJoinPool(1, null); shouldThrow(); - } catch (NullPointerException success) { - } + } catch (NullPointerException success) {} } @@ -606,8 +604,7 @@ public class ForkJoinPoolTest extends JS TrackedShortRunnable task = null; Future future = e.submit(task); shouldThrow(); - } catch (NullPointerException success) { - } + } catch (NullPointerException success) {} } @@ -620,8 +617,7 @@ public class ForkJoinPoolTest extends JS StringTask t = null; Future future = e.submit(t); shouldThrow(); - } catch (NullPointerException success) { - } + } catch (NullPointerException success) {} } @@ -665,8 +661,8 @@ public class ForkJoinPoolTest extends JS return Boolean.TRUE; }}).get(); shouldThrow(); - } catch (ExecutionException success) { - } + } catch (ExecutionException success) {} + joinPool(p); }