<i18n dev> Jordan (Asia/Amman) versus SimpleTimeZone
mark at klomp.org
Sun Aug 30 09:15:36 PDT 2009
Hi Sean (CC distro-pkg-dev added),
On Sun, 2009-08-30 at 13:34 +0100, Sean Coffey wrote:
> Mark Wielaard wrote:
> > I was debugging the following bug report:
> > http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=377
> > "TimeZone.getOffset() fails for some TZ"
> > The issue is caused because there is a start rule in the Asia/Amman
> > timezone that starts at the end of a day. SimpleTimeZone doesn't allow
> > that. I have a simple "fix" (attached), but I haven't fully tested it
> > yet, and don't know if there could be other problems with allowing a
> > rule to start on the last milisecond of a day.
> > I noticed there is a similar bug report here:
> > http://bugs.sun.com/view_bug.do?bug_id=6851214
> > That is marked as "State 11-Closed, Verified, bug".
> > There is however very little information on how this was fixed.
> > Does anybody on this list know more?
> Yes - that's the same fix that was put in the JDK releases.
> The issue is only relevant for the Asia/Amman TZ as you mentioned.
Thanks for the update and confirmation of the fix.
I added it to IcedTea6 plus a new testcase for the general issue.
2009-08-30 Mark Wielaard <mark at klomp.org>
PR377. SimpleTimeZone checks too strict for Asia/Amman TimeZone.
* patches/icedtea-simpletimezone-relax.patch: New patch.
* Makefile.am: Add new patch.
* HACKING: Describe new patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3671 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/i18n-dev/attachments/20090830/0c937604/attachment.bin
More information about the i18n-dev