System.currentTimeMillis check in System class during startup.

jon.vanalten at redhat.com jon.vanalten at redhat.com
Thu Jul 1 17:05:52 UTC 2010


Hi Martin,

Thanks for your input.

----- "Martin Buchholz" <martinrb at google.com> wrote:

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



More information about the core-libs-dev mailing list