[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
Thu Jul 1 10:07:59 PDT 2010


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=394





------- Comment #18 from jon.vanalten at redhat.com  2010-07-01 17:07 -------
(In reply to comment #17)
> It's not at all clear that one cannot solve the y2038 problem on
> systems with a 32-bit time_t.
> That's what Michael Schwern is trying to do here:
> http://code.google.com/p/y2038/
> His code is available.

Unfortunately unless I am missing something this example is not solving the
y2038 problem for when a 32-bit system clock reaches overflow.  See:

http://code.google.com/p/y2038/wiki/HowItWorks

It is simply allowing for representations of future times beyond 2038.  Java
already has this.

> 
> The JDK should find some other anti-inlining technique.
> 
> The code should be agnostic about the current time, as suggested.
> 


-- 
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