JDK-4509255 : JCK14 api/java_util/TimeZone/index.html#static[TimeZone2014] sparc/intel.
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 1.4.0
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS:
    generic,linux,solaris_2.6,windows_2000 generic,linux,solaris_2.6,windows_2000
  • CPU: x86,sparc
  • Submitted: 2001-10-01
  • Updated: 2003-04-12
  • Resolved: 2001-11-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other Other
1.4.0Fixed 1.4.2 b02Fixed
Related Reports
Duplicate :  
Relates :  
Description
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

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mantis-b02 merlin-rc1 FIXED IN: mantis-b02 merlin-rc1 INTEGRATED IN: mantis-b02 merlin-rc1 VERIFIED IN: merlin-rc1
14-06-2004

EVALUATION The 4495052 fix added "MET" as defined in the Olson's public source. However, the alias for JDK1.1. compatibility wasn't removed. ###@###.### 2001-10-02
02-10-2001