commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <stei...@yahoo.com>
Subject Re: [id] UUID sending more code and a question or two
Date Wed, 21 Jan 2004 12:39:47 GMT

--- Tim Reilly <tim.reilly@consultant.com> wrote:
 
> With that I'll create a bugzilla enhancement to add the UUIDClock and
> UUIDSystemClock code for review. UUIDClock has changed to an interface,
> UUIDSystemClock uses the System class to get the time, without the thread
> and other code to compensate for time resolution issues. The code that
> was
> in UUIDClock I now have in a class called UUIDThreadClock (having some
> issues with the unit tests seeming to hang, I'll send when I can get that
> resolved).

Sounds good.

> 
> It would be difficult for me to use the C code in the unit tests (but not
> impossible I suppose.) I guess the question is .. should the unit tests
> have
> this / JNI code? I felt it was important to test against the C reference
> code in the UUID draft appendix, since any errors in implementation for
> this
> code can't be fixed easily (the unique contract depends on correctly
> implementing the spec.)
> 

That sounds like a PITA and I wonder if we are really thinking about this
correctly.  Interleaving JNI calls and comparing timestamps will be hard
and ultimately inconclusive, IIUC.  What exactly did you have in mind here?

Phil
 

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message