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.36 by jsr166, Mon Aug 3 22:08:45 2009 UTC vs.
Revision 1.37 by dl, Tue Aug 4 00:23:18 2009 UTC

# Line 289 | Line 289 | public class JSR166TestCase extends Test
289       * threadFail with message "should throw exception"
290       */
291      public void threadShouldThrow() {
292 <        try {
293 <            threadFailed = true;
294 <            fail("should throw exception");
295 <        } catch (AssertionFailedError e) {
296 <            e.printStackTrace();
297 <            throw e;
298 <        }
292 >        threadFailed = true;
293 >        fail("should throw exception");
294      }
295  
296      /**

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines