Name: skR10017 Date: 01/11/2001
Bug description ---> The following tests fail on Windows
****************************************************************************
Failing Test:
=============
api/java_util/TimeZone/index.html#static
JCK :
=====
JCK1.3
Test source location:
====================
/net/jdk/export/disk8/local.java/jck1.3/JCK-runtime-13fcs/tests/api/java_util/TimeZone/staticTests.java
Platforms:
=============
Windows
JDK, switches Info:
===================
java version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b46)
Java HotSpot(TM) Client VM (build 1.4beta-B45, mixed mode)
Default switch
-client -Xmixed
jtr file location:
==================
How to reproduce:
====================
To reproduce the bug, run script below (You may need to set JCK and JAVA_HOME).
#!/bin/sh
JAVA_HOME="H:/jdk1.4.0/win32"
JCK="H:/jck1.3/JCK-runtime-13fcs"
CLASSPATH="$JCK/classes;$JCK/javatest.jar"
export CLASSPATH
executeClass="javasoft.sqe.tests.api.java.util.TimeZone.staticTests"
$JAVA_HOME/bin/java -version
$JAVA_HOME/bin/java -Xfuture -Djava.security.policy=${JCK}/lib/jck.policy ${executeClass}
RESULT="$?"
if [ $RESULT = 95 ]; then
echo Test passed
elif [ $RESULT = 97 ]; then
echo Test failed
else
echo Result is $RESULT
fi
Test output:
=============
TimeZone2013: Failed. TimeZone.getAvailableIDs returns wrong result
it contains ID : Atlantic/South_Georgia that is not supported
TimeZone2014: Failed. TimeZone.getAvailableIDs(rawOffset) returns wrong result
it contains ID : Atlantic/South_Georgia with wrong offset : 0
rawOffset = -7200000
TimeZone0003: Passed. OK
TimeZone2015: Passed. OK
TimeZone0004: Passed. OK
TimeZone0005: Passed. OK
TimeZone0006: Passed. OK
TimeZone2017: Failed. TimeZone.getTimeZone(ID) returns a wrong value :
java.util.SimpleTimeZone[id=GMT,offset=0,dstSavings=3600000,useDaylight=false,startYear=0,startMode=0,startMonth=0,startDay=0,startDayOfWeek=0,startTime=0,startTimeMode=0,endMode=0,endMonth=0,endDay=0,endDayOfWeek=0,endTime=0,endTimeMode=0]
it has wrong ID = GMT
ID = Atlantic/South_Georgia
TimeZone2018: Passed. OK
TimeZone2019: Passed. OK
STATUS:Failed. tests: 10; passed: 7; failed: 3; first test case failure: TimeZone2013
Specific Machine Info:
=====================
Hostname: linux-17
Additional JCK related info:
============================
URL to find JCK test owners: http://javaweb.eng/jck/usr/owners.jto
======================================================================