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

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

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

revision 1.47, Wed Aug 16 17:18:34 2017 UTC revision 1.48, Sat Oct 21 06:50:25 2017 UTC
# Line 108  Line 108 
108          try {          try {
109              assertSame(expected, f.get());              assertSame(expected, f.get());
110              assertSame(expected, f.get(randomTimeout(), randomTimeUnit()));              assertSame(expected, f.get(randomTimeout(), randomTimeUnit()));
111          } catch (Throwable fail) { threadUnexpectedException(fail); }          } catch (Exception fail) { threadUnexpectedException(fail); }
112      }      }
113    
114      void checkCancelled(Future<?> f) {      void checkCancelled(Future<?> f) {

Legend:
Removed from v.1.47  
changed lines
  Added in v.1.48

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8