[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.1, Sun Aug 31 19:24:55 2003 UTC revision 1.2, Sun Sep 7 20:39:11 2003 UTC
# Line 205  Line 205 
205              t.start();              t.start();
206              ft.cancel(true);              ft.cancel(true);
207              t.join();              t.join();
208          }catch(InterruptedException sucess){          } catch(InterruptedException success){
209              fail("unexpected exception");              fail("unexpected exception");
210          }          }
211      }      }
# Line 345  Line 345 
345              ft.get(1,TimeUnit.MILLISECONDS);              ft.get(1,TimeUnit.MILLISECONDS);
346              fail("should throw");              fail("should throw");
347          }catch(TimeoutException success){}          }catch(TimeoutException success){}
348          catch(Exception sucess){          catch(Exception success){
349              fail("unexpected exception");              fail("unexpected exception");
350          }          }
351    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8