[kaffe] DateFormatTest regression

Ito Kazumitsu ito.kazumitsu at hitachi-cable.co.jp
Tue Mar 2 16:27:02 PST 2004


In message "Re: [kaffe] DateFormatTest regression"
    on 04/03/03, Ito Kazumitsu <kaz at maczuka.gcd.org> writes:

> >>>>> ":" == Dalibor Topic <robilad at kaffe.org> writes:
> 
> :> Gwenole Beauchesne wrote:
> 
> >> Now that we switched month to March, the DateFormatTest now fails:
> >> 
> >> [gb at no regression]$ $JAVA DateFormatTest
> >> Same time zone
> >> Dates don't match? Tue Mar 02 17:12:12 GMT+01:00 2004 != Tue Mar 02 
> >> 18:12:12 GMT+01:00 2004
> >> Different time zone
> 
> :> Yep, I;m getting that one too. I thought I made some mistake in the 
> :> verifier code merge, and went back for quite a while, but the error kept 
> :> reoccuring. I think the 'March did it!' assertion is true. Phew, so it 
> :> wasn't me after all :)
> :> 
> :> I'll see if there are fixes in GNU Classpath, I haven't resynced for a week.
> 
> I do not experience this problem.

I could reproduce this problem by specifying the system property
user.timezone:

$ java -Duser.timezone=Europe/Zurich DateFormatTest
Same time zone
Dates don't match? Wed Mar 03 01:12:54 GMT+01:00 2004 != Wed Mar 03 02:12:54 GMT+01:00 2004
Different time zone
$ java -Duser.timezone=Asia/Yakutsk DateFormatTest
Same time zone
Dates don't match? Wed Mar 03 09:20:32 GMT+09:00 2004 != Wed Mar 03 10:20:32 GMT+09:00 2004
Different time zone

I think this problem has something to do with the time zone that
has daylight saving time which starts from March.




More information about the kaffe mailing list