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

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

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

revision 1.14, Sat Nov 21 02:07:27 2009 UTC revision 1.18, Mon Nov 8 20:15:28 2010 UTC
# Line 309  Line 309 
309          assertEquals(Long.MIN_VALUE,          assertEquals(Long.MIN_VALUE,
310                       TimeUnit.NANOSECONDS.convert(-Long.MAX_VALUE / 4,                       TimeUnit.NANOSECONDS.convert(-Long.MAX_VALUE / 4,
311                                                    TimeUnit.DAYS));                                                    TimeUnit.DAYS));
   
312      }      }
313    
314      /**      /**
# Line 385  Line 384 
384              public void realRun() throws InterruptedException {              public void realRun() throws InterruptedException {
385                  TimeUnit tu = TimeUnit.MILLISECONDS;                  TimeUnit tu = TimeUnit.MILLISECONDS;
386                  tu.timedJoin(s, MEDIUM_DELAY_MS);                  tu.timedJoin(s, MEDIUM_DELAY_MS);
387              }});;              }});
388          s.start();          s.start();
389          t.start();          t.start();
390          Thread.sleep(SHORT_DELAY_MS);          Thread.sleep(SHORT_DELAY_MS);

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.18

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8