-
Bug
-
Resolution: Fixed
-
P2
-
1.4.0
-
b02
-
x86, sparc
-
generic, linux, solaris_2.6, windows_2000
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2047642 | 1.4.0 | Masayoshi Okutsu | P2 | Closed | Fixed | rc1 |
JDK : 1.4.0-beta-b81 ( pass on b80)
JCK : jck1.4-b10, JCK1.3a
Platform[s] : Solaris Sparc/Intel
switch/Mode : Default
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Failing Test :
api/java_util/TimeZone/index.html#static
TimeZone2014
Test source location:
=====================
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_util/TimeZone/staticTests.java
jtr file location:
==================
file:///net/jtgb4u4c/export/sail16/results/merlin/b81/jck14/sparc/s6_client_jtg-s116/workDir/api/java_util/TimeZone/index_static.jtr
How to reproduce:
====================
run the attached script
TimeZone.staticTests.ksh
--------Script START---------------------
#!/bin/ksh
SWITCH=${1+$@}
JDK=/net/jdk/export/disk8/local.java/jdk1.4.0
TESTBASE=/net/jdk/export/disk8/local.java/jck1.4
JCK=${TESTBASE}/JCK-runtime-14
executeClass="javasoft.sqe.tests.api.java.util.TimeZone.staticTests"
excludeCmd=""
executeClassArgs="-TestCaseID TimeZone2014"
executeTestURL=""
headless=
executeContextArgs=
case `uname -s` in
SunOS)
ARCH=`uname -p`
case $ARCH in
sparc)
sharedJDK=$JDK/solsparc
;;
i386)
sharedJDK=$JDK/solx86
;;
esac
;;
Linux)
sharedJDK=$JDK/linux-i386
ARCH=linux
;;
esac
CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
DISPLAY=${DISPLAY-$HOST:0.0}
if `echo $SWITCH|grep "\-d64" >/dev/null`; then
LD_LIBRARY_PATH=${JCK}/lib/sparcv9
else
LD_LIBRARY_PATH=${JCK}/lib/${ARCH}
fi
PATH=$JDK/bin:$sharedJDK/bin:$PATH
export PATH CLASSPATH DISPLAY LD_LIBRARY_PATH
echo
java ${SWITCH} -version
echo
java ${SWITCH} -verify -Xfuture -Djava.security.policy=${JCK}/lib/jck.policy -Djava.security.auth.policy=${JCK}/lib/jck.auth.policy -Djava.security.auth.login.config=${JCK}/lib/jck.auth.login.config -Djava.rmi.activation.port=${executeClass} ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeTestURL}
--------Script END----------------------
Test output:
=============
TimeZone2014: Failed. TimeZone.getAvailableIDs(rawOffset) returns wrong result it doesn't contains ID : METwhich is an available ID for the offset rawOffset = 3600000
STATUS:Failed.tests: 1; failed: 1; first test case failure: TimeZone2014
Specific Machine Info:
=====================
SunOS jtg-s116 5.6 Generic_105181-26 sun4u sparc SUNW,Ultra-2
SunOS jtg-i104 5.6 Generic_105182-25 i86pc i386 i86pc
###@###.### 2001-10-01
JCK : jck1.4-b10, JCK1.3a
Platform[s] : Solaris Sparc/Intel
switch/Mode : Default
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Failing Test :
api/java_util/TimeZone/index.html#static
TimeZone2014
Test source location:
=====================
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_util/TimeZone/staticTests.java
jtr file location:
==================
file:///net/jtgb4u4c/export/sail16/results/merlin/b81/jck14/sparc/s6_client_jtg-s116/workDir/api/java_util/TimeZone/index_static.jtr
How to reproduce:
====================
run the attached script
TimeZone.staticTests.ksh
--------Script START---------------------
#!/bin/ksh
SWITCH=${1+$@}
JDK=/net/jdk/export/disk8/local.java/jdk1.4.0
TESTBASE=/net/jdk/export/disk8/local.java/jck1.4
JCK=${TESTBASE}/JCK-runtime-14
executeClass="javasoft.sqe.tests.api.java.util.TimeZone.staticTests"
excludeCmd=""
executeClassArgs="-TestCaseID TimeZone2014"
executeTestURL=""
headless=
executeContextArgs=
case `uname -s` in
SunOS)
ARCH=`uname -p`
case $ARCH in
sparc)
sharedJDK=$JDK/solsparc
;;
i386)
sharedJDK=$JDK/solx86
;;
esac
;;
Linux)
sharedJDK=$JDK/linux-i386
ARCH=linux
;;
esac
CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
DISPLAY=${DISPLAY-$HOST:0.0}
if `echo $SWITCH|grep "\-d64" >/dev/null`; then
LD_LIBRARY_PATH=${JCK}/lib/sparcv9
else
LD_LIBRARY_PATH=${JCK}/lib/${ARCH}
fi
PATH=$JDK/bin:$sharedJDK/bin:$PATH
export PATH CLASSPATH DISPLAY LD_LIBRARY_PATH
echo
java ${SWITCH} -version
echo
java ${SWITCH} -verify -Xfuture -Djava.security.policy=${JCK}/lib/jck.policy -Djava.security.auth.policy=${JCK}/lib/jck.auth.policy -Djava.security.auth.login.config=${JCK}/lib/jck.auth.login.config -Djava.rmi.activation.port=${executeClass} ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeTestURL}
--------Script END----------------------
Test output:
=============
TimeZone2014: Failed. TimeZone.getAvailableIDs(rawOffset) returns wrong result it doesn't contains ID : METwhich is an available ID for the offset rawOffset = 3600000
STATUS:Failed.tests: 1; failed: 1; first test case failure: TimeZone2014
Specific Machine Info:
=====================
SunOS jtg-s116 5.6 Generic_105181-26 sun4u sparc SUNW,Ultra-2
SunOS jtg-i104 5.6 Generic_105182-25 i86pc i386 i86pc
###@###.### 2001-10-01
- backported by
-
JDK-2047642 JCK14 api/java_util/TimeZone/index.html#static[TimeZone2014] sparc/intel.
- Closed
- duplicates
-
JDK-4510180 jdk regression: TimeZone.getAvailableIDs(int) returns wrong id
- Closed
- relates to
-
JDK-4495052 RFE: Java should support complete set of Olson time zones
- Resolved