Re: hg: jdk8/tl/jdk: 7094176: (tz) Incorrect TimeZone display name when DST not applicable / disabled

2012-05-25 Thread Alan Bateman
On 25/05/2012 11:05, Masayoshi Okutsu wrote: Another option would be to write a native program to change the system setup and run a Java program to detect the change. But it requires the administrator privilege and is a bit risky. A test failure may leave a test machine in an unusual state.

Re: hg: jdk8/tl/jdk: 7094176: (tz) Incorrect TimeZone display name when DST not applicable / disabled

2012-05-25 Thread Masayoshi Okutsu
On 5/25/2012 6:37 PM, Alan Bateman wrote: On 25/05/2012 10:32, Masayoshi Okutsu wrote: Hi Deven, Sorry. I didn't review the test case... You can use applet to write a manual test. You will find some manual tests under test/java/awt such as: test/java/awt/TextField/ScrollSelectionTest/Scroll

Re: hg: jdk8/tl/jdk: 7094176: (tz) Incorrect TimeZone display name when DST not applicable / disabled

2012-05-25 Thread Alan Bateman
On 25/05/2012 10:32, Masayoshi Okutsu wrote: Hi Deven, Sorry. I didn't review the test case... You can use applet to write a manual test. You will find some manual tests under test/java/awt such as: test/java/awt/TextField/ScrollSelectionTest/ScrollSelectionTest.{html,java} Thanks, Masay

Re: hg: jdk8/tl/jdk: 7094176: (tz) Incorrect TimeZone display name when DST not applicable / disabled

2012-05-25 Thread Masayoshi Okutsu
dwei Date: 2012-05-25 13:28 +0800 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/71cf74329a9e 7094176: (tz) Incorrect TimeZone display name when DST not applicable / disabled Reviewed-by: okutsu ! src/windows/native/java/util/TimeZone_md.c + test/java/util/TimeZone/DstTzTest.java

Re: hg: jdk8/tl/jdk: 7094176: (tz) Incorrect TimeZone display name when DST not applicable / disabled

2012-05-25 Thread Deven You
youdwei Date: 2012-05-25 13:28 +0800 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/71cf74329a9e 7094176: (tz) Incorrect TimeZone display name when DST not applicable / disabled Reviewed-by: okutsu ! src/windows/native/java/util/TimeZone_md.c + test/java/util/TimeZone/DstTzTest.jav

Re: hg: jdk8/tl/jdk: 7094176: (tz) Incorrect TimeZone display name when DST not applicable / disabled

2012-05-25 Thread Alan Bateman
dk8/tl/jdk/rev/71cf74329a9e 7094176: (tz) Incorrect TimeZone display name when DST not applicable / disabled Reviewed-by: okutsu ! src/windows/native/java/util/TimeZone_md.c + test/java/util/TimeZone/DstTzTest.java

Re: Incorrect TimeZone display name when DST not applicable / disabled

2012-05-24 Thread Charles Lee
Hi Deven, The patch is committed @ Changeset: 71cf74329a9e Author:youdwei Date: 2012-05-25 13:28 +0800 URL:http://hg.openjdk.java.net/jdk8/tl/jdk/rev/71cf74329a9e 7094176: (tz) Incorrect TimeZone display name when DST not applicable / disabled Reviewed-by: okutsu Please verify it and

Re: Incorrect TimeZone display name when DST not applicable / disabled

2012-05-24 Thread Masayoshi Okutsu
As I stated before, your proposed fix is good because Windows XP doesn't use the Dynamic DST data. Thanks, Masayoshi On 5/24/2012 2:53 PM, Deven You wrote: Hi masayoshi, Could you review Yoshito and my replies and see if it is good to you? Thanks a lot! On 05/17/2012 11:04 AM, Deven You wrot

Re: Incorrect TimeZone display name when DST not applicable / disabled

2012-05-23 Thread Deven You
Hi masayoshi, Could you review Yoshito and my replies and see if it is good to you? Thanks a lot! On 05/17/2012 11:04 AM, Deven You wrote: Hi Masayoshi, I think the workaround is good, but many customers may not know this fact and when they need change the timezone, they just select another

Re: Incorrect TimeZone display name when DST not applicable / disabled

2012-05-16 Thread Deven You
Hi Masayoshi, I think the workaround is good, but many customers may not know this fact and when they need change the timezone, they just select another time zone which does not support DST and ignore that the auto-adjust option should be checked first. To Yoshito, thanks for your informati

Re: Incorrect TimeZone display name when DST not applicable / disabled

2012-05-16 Thread Yoshito Umaoka
I thought Windows XP might (internally) use the Dynamic DST data in the Time Zones registry for supporting any DST rule changes, because Dynamic DST was introduced for the US DST rule change IIRC. But as far as I tested, XP seems to ignore Dynamic DST data. If that's the case, your proposed f

Re: Incorrect TimeZone display name when DST not applicable / disabled

2012-05-16 Thread Masayoshi Okutsu
Hi Deven, I wanted to know of any reasons why you want to leave the auto-adjust option unchecked in a time zone where no DST is observed. It should be an easy workaround if you select another time zone with DST and turn the auto-adjust on, and then select back your

Re: Incorrect TimeZone display name when DST not applicable / disabled

2012-05-15 Thread Deven You
This is the MSDN reference[1] [1] http://msdn.microsoft.com/en-us/library/windows/desktop/ms724253%28v=vs.85%29.aspx On 05/16/2012 02:09 PM, Deven You wrote: Hi Masayoshi, This fix is only for Time zone which does not support DST. For your first question, the scenario is that when current t

Re: Incorrect TimeZone display name when DST not applicable / disabled

2012-05-15 Thread Deven You
Hi Masayoshi, This fix is only for Time zone which does not support DST. For your first question, the scenario is that when current time zone supports DST and the "Automatically adjust clock for Daylight Saving Changes" option is unchecked. At that time if people change the timezone to one th

Re: Incorrect TimeZone display name when DST not applicable / disabled

2012-05-11 Thread Masayoshi Okutsu
Hi Deven, Sorry for taking time to respond. This is a known restriction of time zone detection on Windows currently. There used to be a note on this issue with a workaround in Java SE release notes, but it seems to be gone some time ago. Is there any reason

Re: Incorrect TimeZone display name when DST not applicable / disabled

2012-05-10 Thread Deven You
Anyone could take a look? On 05/07/2012 05:23 PM, Deven You wrote: Hi All, JDK displays incorrect TimeZone display name when DST (Daylight Saving Time) is disable in the native Time Zone settings on Windows XP/2003 platforms and the Time Zone does not support DST. Steps to re-create the pro

Incorrect TimeZone display name when DST not applicable / disabled

2012-05-07 Thread Deven You
Hi All, JDK displays incorrect TimeZone display name when DST (Daylight Saving Time) is disable in the native Time Zone settings on Windows XP/2003 platforms and the Time Zone does not support DST. Steps to re-create the problem 1. In the Windows Date and Time Properties dialog, set the time