From: | Rene Pijlman <rene(at)lab(dot)applinet(dot)nl> |
---|---|
To: | Liam Stewart <liams(at)redhat(dot)com> |
Cc: | pgsql-jdbc(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Funny timezone shift causes failure in test suite |
Date: | 2001-11-25 19:00:29 |
Message-ID: | 9ae20usgse033ggk6tn8dr7d6mbmbc25dp@4ax.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-jdbc |
[about a failure with a historical date in the JDBC driver's
test suite, when ran in the CET timezone]
On Tue, 13 Nov 2001 16:28:57 -0500, you wrote:
>At least) Sun's JRE seems to be braindead when it comes to
>timezones.. I made a small test program that runs through a sequence of
>years and for each year, it takes a date in the winter and a date in the
>summer and checks whether or not the calendar is in daylight savings
>time. From 1945 to 1977, it reports that in the summer, daylight savings
>time is observed, which it shouldn't be.
>
>After poking around some, I think that Java isn't concerned with
>historical behaviour (ICU [Internation Components for Unicode] isn't
>AFAICS, and the ICU Java classes developped by Taligent were integrated
>into Sun's JDK 1.1...)
Yes, you're right.
This bug description confirms that the JVM up to 1.3 does not
have a historically correct timezone implementation:
http://developer.java.sun.com/developer/bugParade/bugs/4257314.html
(registration required), and it says this is fixed in 1.4 aka
'merlin'.
I tested it with Sun's JDK 1.4 beta 3 and the Sun's J2EE 1.3
reference implementation on Red Hat Linux 7.1 and indeed the
test suite ran fine with 0 failures (I had to tweak some
unimplemented methods to be able to run the driver with this
JVM/J2EE).
Case closed. We don't need to do anything in the driver. Liam,
thanks a lot for your help!
Regards,
René Pijlman <rene(at)lab(dot)applinet(dot)nl>
From | Date | Subject | |
---|---|---|---|
Next Message | Ian Barwick | 2001-11-25 19:17:41 | Re: Security note: MS SQL is current worm vector |
Previous Message | Ian Barwick | 2001-11-25 18:17:44 | Re: Security note: MS SQL is current worm vector |
From | Date | Subject | |
---|---|---|---|
Next Message | Dhruv Pandya | 2001-11-25 19:50:20 | JDBC driver 7.1 and Kerberos 5 |
Previous Message | Barry Lind | 2001-11-24 21:52:39 | Re: bytea 2.0 compliance |