# | Line 456 | Line 456 | public class JSR166TestCase extends Test | |
---|---|---|
456 | try { | |
457 | realRun(); | |
458 | threadShouldThrow(exceptionClass.getSimpleName()); | |
459 | – | } catch (InterruptedException success) { |
459 | } catch (Throwable t) { | |
460 | if (! exceptionClass.isInstance(t)) | |
461 | threadUnexpectedException(t); | |
# | Line 477 | Line 476 | public class JSR166TestCase extends Test | |
476 | try { | |
477 | realRun(); | |
478 | threadShouldThrow(exceptionClass.getSimpleName()); | |
480 | – | } catch (InterruptedException success) { |
479 | } catch (Throwable t) { | |
480 | if (! exceptionClass.isInstance(t)) | |
481 | threadUnexpectedException(t); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |