Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6831098

1 JCK test start to fail after using of tzupdater 1.3.14 b01

XMLWordPrintable

    • b01
    • b02
    • generic
    • generic
    • Verified

      JCK : JCK runtime 6b b24
      J2SE : FAIL - tested on 6u11 b07, 6u13 b04, b06 (rev) and on 6u14 b04
      Platform[s] : FAIL - tested on soalris 10 sun4u and linux x86, x64
      Java options : FAIL - Any
      TZUpdater version : FAIL - 1.3.13 b01 and 1.3.14 b01 (test passes with 1.3.12 b01)

      JCK test api/java_text/DateFormatSymbols/descriptions.html starts to fails after tzupdater was used.
      Please see attached *.jtr file.

      Steps to reproduce:
      1. Install jdk (for ex. to /export/jdk/jdk1.6.0_14)
      2. Install JCK7 (for ex. to /export/JCK/JCK-runtime-6b)
      3. Prepare a simple script to run a test:
      #!/bin/bash

      export JAVA=/export/jdk/jdk1.6.0_14/jre/bin/java
      export CLASSPATH="/export/JCK/JCK-runtime-6b/classes"

      OPTS=""
      TEST="javasoft.sqe.tests.api.java.text.DateFormatSymbols.ZoneStringsTests"
      TOPTS=""

      $JAVA $OPTS -version
      $JAVA $OPTS $TEST $TOPTS
      4. Use command like /export/jdk/jdk1.6.0_14/bin/java -jar ../../../tzupdater-1.3.14-2009f/tzupdater.jar -u -v to update time zone data.
      5. Run the script above to see the failure.

      Installed jck could be found at /java/re/jck/6b/promoted/latest/binaries/JCK-runtime-6b/
      Test sources is at /java/re/jck/6b/promoted/latest/binaries/JCK-runtime-6b/tests/api/java_text/DateFormatSymbols/ZoneStringsTests.java

      Output will be like:
      java version "1.6.0_14-ea"
      Java(TM) Platform, Standard Edition for Business (build 1.6.0_14-ea-b04)
      Java HotSpot(TM) Server VM (build 14.0-b13, mixed mode)
      java.text.DateFormatSymbols@a5aca753. ZoneStrings[i][0] have to be TimeZone ID. Invalid ID 'MET'
      ...... lines removed.....
      java.text.DateFormatSymbols@b463a656. ZoneStrings[i][0] have to be TimeZone ID. Invalid ID 'MET'
      java.text.DateFormatSymbols@b463a656. ZoneStrings[i][0] have to be TimeZone ID. Invalid ID 'MET'
      java.text.DateFormatSymbols@840177ab. ZoneStgetZoneStrings2000: Passed. test cases: 152; all passed
      getZoneStrings2001: Failed. test cases: 152; all failed; first test case failure: test_1
      getZoneStrings2002: Passed. test cases: 152; all passed
      setZoneStrings2000: Passed. test cases: 152; all passed
      setZoneStrings2001: Passed. test cases: 456; all passed
      setZoneStrings2002: Passed. test cases: 456; all passed
      rings[i][0] have to be TimeZone ID. Invalid ID 'MET'
      java.text.DateFormatSymbols@840177ab. ZoneStrings[i][0] have to be TimeZone ID. Invalid ID 'MET'
      java.text.DateFormatSymbols@840177ab. ZoneStrings[i][0] have to be TimeZone ID. Invalid ID 'MET'
      ...... lines removed.....
      java.text.DateFormatSymbols@840177ab. ZoneStrings[i][0] have to be TimeZone ID. Invalid ID 'MET'
      java.text.DateFormatSymbols@b463a656. ZoneStrings[i][0] have to be TimeZone ID. Invalid ID 'MET'
      STATUS:Failed.test cases: 6; passed: 5; failed: 1; first test case failure: getZoneStrings2001

            coffeys Sean Coffey
            ephilipp Evgeny Philippov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: