--- jsr166/src/test/tck/ThreadLocalTest.java 2004/01/10 20:37:20 1.5 +++ jsr166/src/test/tck/ThreadLocalTest.java 2009/08/04 10:13:48 1.7 @@ -78,8 +78,8 @@ public class ThreadLocalTest extends JSR if (child != null) { // Wait for child (if any) try { child.join(); - } catch(InterruptedException e) { - threadUnexpectedException(); + } catch (InterruptedException e) { + threadUnexpectedException(e); } } } @@ -95,12 +95,11 @@ public class ThreadLocalTest extends JSR try { progenitor.start(); progenitor.join(); - for(int i = 0; i < threadCount; i++) { + for (int i = 0; i < threadCount; i++) { assertEquals(i, x[i]); } - } catch(InterruptedException e) { - unexpectedException(); + } catch (InterruptedException e) { + unexpectedException(e); } } } -