United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 4509255 JCK14 api/java_util/TimeZone/index.html#static[TimeZone2014] sparc/intel.
4509255 : JCK14 api/java_util/TimeZone/index.html#static[TimeZone2014] sparc/intel.

Details
Type:
Bug
Submit Date:
2001-10-01
Status:
Resolved
Updated Date:
2003-04-12
Project Name:
JDK
Resolved Date:
2001-11-12
Component:
core-libs
OS:
solaris_2.6,linux,generic,windows_2000
Sub-Component:
java.util:i18n
CPU:
x86,sparc
Priority:
P2
Resolution:
Fixed
Affected Versions:
1.4.0
Fixed Versions:
1.4.2

Related Reports
Backport:
Duplicate:
Relates:

Sub Tasks

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


                                     
2004-06-14
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
                                     
2001-10-02



Hardware and Software, Engineered to Work Together