ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/ThreadLocalTest.java
(Generate patch)

Comparing jsr166/src/test/tck/ThreadLocalTest.java (file contents):
Revision 1.5 by dl, Sat Jan 10 20:37:20 2004 UTC vs.
Revision 1.7 by jsr166, Tue Aug 4 10:13:48 2009 UTC

# Line 78 | Line 78 | public class ThreadLocalTest extends JSR
78              if (child != null) { // Wait for child (if any)
79                  try {
80                      child.join();
81 <                } catch(InterruptedException e) {
82 <                    threadUnexpectedException();
81 >                } catch (InterruptedException e) {
82 >                    threadUnexpectedException(e);
83                  }
84              }
85          }
# Line 95 | Line 95 | public class ThreadLocalTest extends JSR
95          try {
96              progenitor.start();
97              progenitor.join();
98 <            for(int i = 0; i < threadCount; i++) {
98 >            for (int i = 0; i < threadCount; i++) {
99                  assertEquals(i, x[i]);
100              }
101 <        } catch(InterruptedException e) {
102 <            unexpectedException();
101 >        } catch (InterruptedException e) {
102 >            unexpectedException(e);
103          }
104      }
105   }
106

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines