Hi Phil,

Phil Steitz wrote:

> Found the source of the test failures for me.  I think the code and
> test cases are correct, but somehow the clock precision or something
> else is messing up the chronology for me.  The tests all pass if I
> make spin wait until a full second has elapsed:
> 
> private void spin(long now) {
>         while (System.currentTimeMillis() <= now + 1000);  <-- add a sec.
> }
> 
> That slows down the tests a bit, but makes them pass.  Has this been
> reported before?

Hmmm. Even with this change the test fails for me from within Eclipse on
Linux.

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to