[Bug 394] pre Epoch bug : java.lang.ExceptionInInitializerError on systems with time set before January 1, 1970
bugzilla-daemon at icedtea.classpath.org
bugzilla-daemon at icedtea.classpath.org
Mon Jun 28 08:36:34 PDT 2010
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=394
------- Comment #16 from aph at redhat.com 2010-06-28 15:36 -------
> Why are it not Java compatible if it returns a negative number?
Because the current time is after 1970, therefore any currentTimeMillis() that
returns a negative number is incorrect.
> But, should Java users need
> to guarantee that their system clock is accurately set to real world time?
I can't see any other way to meet the spec.
This is a bug in the underlying OS, that should have the clock set during
bootup.
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the distro-pkg-dev
mailing list