System.currentTimeMillis check in System class during startup.

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

Hi Martin,

Thanks for your input.

----- "Martin Buchholz" <martinrb at> 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:
> 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:

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

More information about the core-libs-dev mailing list