# | 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 | /** |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |