when I ran it in java 1.5 I get the output: Sun Aug 21 20:40:19 EDT 2005
in java 1.3.1, this is printed out: Sun Aug 14 20:55:11 EDT 2005
any ideas why?
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35258
7
posted
0
I've simplified the code a bit as follows:
I'm getting the following results on OS X, with the added twist that if I uncomment the println statement above, the output of the second println changes! Looks like something fishy is happening in the 1.3.1 JVM.
Java 1.4.2 Sat Aug 06 09:12:35 CEST 2005 Sun Aug 21 09:12:35 CEST 2005
Java 1.3.1 Sat Aug 06 09:12:39 CEST 2005 Sun Aug 14 09:12:39 CEST 2005
Java 1.3.1 - activating the commented-out println statement Sat Aug 06 09:13:28 CEST 2005 Sun Jul 31 09:13:28 CEST 2005 Sun Jul 10 09:13:28 CEST 2005