java.util.Timer not handling negative System.currentTimeMillis()
Tom Tromey
tromey@redhat.com
Fri Nov 25 00:29:00 GMT 2005
>>>>> "Martin" == Martin Egholm Nielsen <martin@egholm-nielsen.dk> writes:
Martin> I know this is an obscure problem, but is there is requirement
Martin> that we are only "allowed" to run gcj on targets with clocks >
Martin> 1970.
The portability code isn't fully spec'd out to this level. The code
is the only guide.
Martin> For now I will just make sure the time is not less than 1970
Martin> and larger than some other limit overflowing the long.
Martin> The problem arises because my target's RTC comes with an undefinded
Martin> initial time - hence anything is possible :-)
Yeah, you should probably initialize this sometime before initializing
libgcj. It seems to me that this randomness would preclude a workable
libgcj patch... ?
Tom
More information about the Java
mailing list