--- jsr166/src/test/tck/ThreadLocalTest.java 2009/11/21 02:07:27 1.9 +++ jsr166/src/test/tck/ThreadLocalTest.java 2009/11/21 10:25:05 1.10 @@ -88,18 +88,14 @@ public class ThreadLocalTest extends JSR /** * InheritableThreadLocal propagates generic values. */ - public void testGenericITL() { + public void testGenericITL() throws InterruptedException { final int threadCount = 10; final int x[] = new int[threadCount]; Thread progenitor = new ITLThread(x); - try { - progenitor.start(); - progenitor.join(); - for (int i = 0; i < threadCount; i++) { - assertEquals(i, x[i]); - } - } catch (InterruptedException e) { - unexpectedException(e); + progenitor.start(); + progenitor.join(); + for (int i = 0; i < threadCount; i++) { + assertEquals(i, x[i]); } } }