-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
1.4.1
-
x86
-
windows_2000
Name: gm110360 Date: 10/14/2002
FULL PRODUCT VERSION :
C:\>java -version
java version "1.4.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21)
Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode)
FULL OPERATING SYSTEM VERSION :
Microsoft Windows 2000 [Version 5.00.2195]
Service Pack 3
EXTRA RELEVANT SYSTEM CONFIGURATION :
Dump system properties ...
----------------------------------------------------
acl.read = +
acl.read.default =
acl.write = +
acl.write.default =
application.home = C:\J2SDK1~1.1\jre
awt.toolkit = sun.awt.windows.WToolkit
browser = sun.plugin
browser.vendor = Sun Microsystems, Inc.
browser.version = 1.1
file.encoding = Cp1252
file.encoding.pkg = sun.io
file.separator = file.separator.applet = true
http.agent = Mozilla/4.0 (Windows 2000 5.0)
https.protocols = SSLv3,SSLv2Hello
java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
java.awt.printerjob = sun.awt.windows.WPrinterJob
java.class.path = C:\J2SDK1~1.1\jre\classes
java.class.version = 48.0
java.class.version.applet = true
java.endorsed.dirs = C:\J2SDK1~1.1\jre\lib\endorsed
java.ext.dirs = C:\J2SDK1~1.1\jre\lib\ext
java.home = C:\J2SDK1~1.1\jre
java.io.tmpdir = C:\TEMPjava.library.path = C:\Program Files\Internet
Explorer;.;C:\WINNT\System32;C:\WINNT;C:\Program
Files\Proximity\Thunderserver\bin;C:\Program
Files\Proximity\Xenomotion\bin;C:\WINNT\system32;C:\WINNT;C:
\WINNT\System32\Wbem;C:\profile
java.protocol.handler.pkgs = sun.plugin.net.protocol
java.runtime.name = Java(TM) 2 Runtime Environment,
Standard Edition
java.runtime.version = 1.4.1-b21
java.specification.name = Java Platform API Specification
java.specification.vendor = Sun Microsystems Inc.
java.specification.version = 1.4
java.util.prefs.PreferencesFactory =
java.util.prefs.WindowsPreferencesFactory
java.vendor = Sun Microsystems Inc.
java.vendor.applet = true
java.vendor.url = http://java.sun.com/
java.vendor.url.applet = true
java.vendor.url.bug = http://java.sun.com/cgi-
bin/bugreport.cgi
java.version = 1.4.1
java.version.applet = true
java.vm.info = mixed mode
java.vm.name = Java HotSpot(TM) Client VM
java.vm.specification.name = Java Virtual Machine
Specification
java.vm.specification.vendor = Sun Microsystems Inc.
java.vm.specification.version = 1.0
java.vm.vendor = Sun Microsystems Inc.
java.vm.version = 1.4.1-b21
javaplugin.cache.size = 20m
javaplugin.console = hide
javaplugin.exception = false
javaplugin.jre.path = C:\j2sdk1.4.1
javaplugin.jre.type = JDK
javaplugin.jre.version = 1.4.1
javaplugin.maxHeapSize = 96m
javaplugin.nodotversion = 141
javaplugin.proxy.config.type = auto
javaplugin.proxy.usebrowsersettings = true
javaplugin.version = 1.4.1
javaplugin.vm.options = -Djava.class.path=C:\J2SDK1~1.1
\jre\classes -Xbootclasspath/a:C:\PROGRA~1\Java\J2RE14~1.1
\lib\jaws.jar;C:\J2SDK1~1.1\jre\..\lib\tools.jar -Xmx96m -
Djavaplugin.maxHeapSize=96m -Xverify:remote -
Djavaplugin.version=1.4.1 -Djavaplugin.nodotversion=141 -
Dbrowser=sun.plugin -DtrustProxy=true -
Dapplication.home=C:\J2SDK1~1.1\jre -
Djava.protocol.handler.pkgs=sun.plugin.net.protocol
line.separator = \r\n
line.separator.applet = true
os.arch = x86
os.arch.applet = true
os.name = Windows 2000
os.name.applet = true
os.version = 5.0
os.version.applet = true
package.restrict.access.netscape = false
package.restrict.access.sun = true
package.restrict.definition.java = true
package.restrict.definition.netscape = true
package.restrict.definition.sun = true
path.separator = ;
path.separator.applet = true
sun.arch.data.model = 32
sun.boot.class.path = C:\J2SDK1~1.1
\jre\lib\rt.jar;C:\J2SDK1~1.1\jre\lib\i18n.jar;C:\J2SDK1~1.1
\jre\lib\sunrsasign.jar;C:\J2SDK1~1.1
\jre\lib\jsse.jar;C:\J2SDK1~1.1
\jre\lib\jce.jar;C:\J2SDK1~1.1
\jre\lib\charsets.jar;C:\J2SDK1~1.1\jre\classes;C:\PROGRA~1
\Java\J2RE14~1.1\lib\jaws.jar;C:\J2SDK1~1.1
\jre\..\lib\tools.jar
sun.boot.library.path = C:\J2SDK1~1.1\jre\bin
sun.cpu.endian = little
sun.cpu.isalist = pentium i486 i386
sun.io.unicode.encoding = UnicodeLittle
sun.java2d.fontpath =
sun.net.client.defaultConnectTimeout = 120000
sun.os.patch.level = Service Pack 3
trustProxy = true
user.country = AU
user.dir = C:\Documents and Settings\Administrator\Desktop
user.home = C:\Documents and Settings\Administrator
user.language = en
user.name = Administrator
user.timezone = GMT
user.variant =
----------------------------------------------------
Done.
A DESCRIPTION OF THE PROBLEM :
The Java Plugin uses GMT timezone, even though Windows has
been configured correctly for Australia/Sydney. The Java
Plugin uses the following:
user.timezone = GMT
Windows Date/Time Properties is set to "(GMT+10:00)
Canberra, Melbourne, Sydney" and "Automatically adjust for
daylight savings" is turned on.
The default Windows system locale is configured as "English
(Australia)"
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Set Windows Date/Time Properties is to "(GMT+10:00)
Canberra, Melbourne, Sydney" and turn on "Automatically
adjust for daylight savings" option.
2. Set the default Windows system locale to "English
(Australia)"
3. Set the input locale to "English (Australia)" and remove
any other locales.
4. Start Java Plugin using any applet loaded into Internet
Explorer 5.5
Display system properties and observe that user.timezone is
incorrectly set to GMT.
2.
3.
EXPECTED VERSUS ACTUAL BEHAVIOR :
user.timezone should be Australia/Sydney but is GMT instead.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
No error messages, however any code that displays time is off by 10 hours.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
No code required to reproduce.
---------- END SOURCE ----------
CUSTOMER WORKAROUND :
None found.
(Review ID: 165732)
======================================================================
- duplicates
-
JDK-4891536 JRE 1.4.1_02 fails to detect the default time-zone correctly
-
- Closed
-