This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Regenerate TimeZone.java from tzdata2007a
- From: Andrew Haley <aph at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Mark Wielaard <mark at klomp dot org>, gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: Fri, 9 Feb 2007 10:46:33 +0000
- Subject: Re: [PATCH] Regenerate TimeZone.java from tzdata2007a
- References: <20070209102650.GB22959@devserv.devel.redhat.com>
Jakub Jelinek writes:
>
> This patch fixes 2 bugs in timezones.pl:
> 1) Europe/London and Europe/Dublin Zones in tzdata*/europe refer to
> EU Rule, but EU Rule is defined later on in the file, not above
> Europe/London, which leads to no DST at all for UK and Ireland.
> I think we don't need to care about timezones.pl efficiency and
> thus just parsing in 2 passes is the quickest fix.
> 2) SimpleTimeZone is created with WALL_TIME in TimeZone.java, but
> timezones.pl was computing it wrongly for times in the sources
> with g, u, z or s suffixes for the start rule, where wall time
> is supposed to be the same as standard time, but it was adding
> the DST offset anyway
> and regenerates from tzdata2007a.
>
> Ok to commit? Or does it first need to go into classpath SVN (or CVS?;
> guess I don't know even where it is)?
OK. Let me know the svn commit version #. I'll pass this along to
Classpath.
Andrew.