ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/FutureTaskTest.java
(Generate patch)

Comparing jsr166/src/test/tck/FutureTaskTest.java (file contents):
Revision 1.47 by jsr166, Wed Aug 16 17:18:34 2017 UTC vs.
Revision 1.48 by jsr166, Sat Oct 21 06:50:25 2017 UTC

# Line 108 | Line 108 | public class FutureTaskTest extends JSR1
108          try {
109              assertSame(expected, f.get());
110              assertSame(expected, f.get(randomTimeout(), randomTimeUnit()));
111 <        } catch (Throwable fail) { threadUnexpectedException(fail); }
111 >        } catch (Exception fail) { threadUnexpectedException(fail); }
112      }
113  
114      void checkCancelled(Future<?> f) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines