RE: [id] UUID sending more code and a question or two

2004-01-22 Thread Phil Steitz
--- Tim Reilly <[EMAIL PROTECTED]> wrote: > > I agree the JNI will be a PITA for me, especially since I'm re-learning > C. I > have a simple program working on Win2K and RH8. I'm not sure if the code > would need to be recompiled for each target platform (at least making it > an > optional test

RE: [id] UUID sending more code and a question or two

2004-01-22 Thread Tim Reilly
> > 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? > > Why not run the native code, capture the output, and com

RE: [id] UUID sending more code and a question or two

2004-01-21 Thread Noel J. Bergman
> > should the unit tests have [native] / JNI code? > > I felt it was important to test against the C > > reference code in the UUID draft appendix > 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

Re: [id] UUID sending more code and a question or two

2004-01-21 Thread Phil Steitz
--- Tim Reilly <[EMAIL PROTECTED]> 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 f

RE: [id] UUID sending more code and a question or two

2004-01-20 Thread Tim Reilly
PROTECTED] > Sent: Tuesday, January 20, 2004 11:10 AM > To: Jakarta Commons Developers List > Subject: RE: [id] UUID sending more code and a question or two > > > Tim Reilly wrote: > > I'd decided to test my time (clock) values against the > > example code in the

RE: [id] UUID sending more code and a question or two

2004-01-20 Thread Noel J. Bergman
Tim Reilly wrote: > I'd decided to test my time (clock) values against the > example code in the uuid draft. Which UUID draft? http://www.webdav.org/specs/draft-leach-uuids-guids-01.txt? Isn't this something that the SOAP/Axis projects also need, and could benefit from? ref: http://ws.apache.org

[id] UUID sending more code and a question or two

2004-01-20 Thread Tim Reilly
I'd decided to test my time (clock) values against the example code in the uuid draft. The problem was (a: I'm 10yrs rusty in C/C++) and b) I'd get about a 34.07xx year difference in my return values versus what the C code in the draft is giving. Eventually, I figured out to upcast the time struct'