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

Comparing jsr166/src/test/tck/JSR166TestCase.java (file contents):
Revision 1.67 by jsr166, Fri Oct 29 06:58:56 2010 UTC vs.
Revision 1.70 by jsr166, Sun Nov 21 19:04:45 2010 UTC

# Line 289 | Line 289 | public class JSR166TestCase extends Test
289       * earlier by threadRecordFailure.
290       */
291      public void tearDown() throws Exception {
292 <        Throwable t = threadFailure.get();
292 >        Throwable t = threadFailure.getAndSet(null);
293          if (t != null) {
294              if (t instanceof Error)
295                  throw (Error) t;
# Line 636 | Line 636 | public class JSR166TestCase extends Test
636      long millisElapsedSince(long startNanoTime) {
637          return NANOSECONDS.toMillis(System.nanoTime() - startNanoTime);
638      }
639 <    
639 >
640      /**
641       * Returns a new started daemon Thread running the given runnable.
642       */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines