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.33 by jsr166, Fri Jul 31 23:37:31 2009 UTC vs.
Revision 1.34 by jsr166, Fri Jul 31 23:53:23 2009 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines