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.45 by jsr166, Thu Nov 26 15:42:15 2009 UTC vs.
Revision 1.46 by jsr166, Tue Dec 1 05:41:40 2009 UTC

# 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);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines