[cvs] / jsr166 / src / test / tck / JSR166TestCase.java Repository:
ViewVC logotype

Diff of /jsr166/src/test/tck/JSR166TestCase.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.36, Mon Aug 3 22:08:45 2009 UTC revision 1.37, Tue Aug 4 00:23:18 2009 UTC
# Line 289  Line 289 
289       * threadFail with message "should throw exception"       * threadFail with message "should throw exception"
290       */       */
291      public void threadShouldThrow() {      public void threadShouldThrow() {
         try {  
292              threadFailed = true;              threadFailed = true;
293              fail("should throw exception");              fail("should throw exception");
         } catch (AssertionFailedError e) {  
             e.printStackTrace();  
             throw e;  
         }  
294      }      }
295    
296      /**      /**

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8