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

JCK6.0: api/java_util/Date/index.html#misc fails, mustang

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 6
    • Fix Version/s: 6
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      b52
    • CPU:
      generic, x86
    • OS:
      generic, windows_2000
    • Verification:
      Verified

      Description

      JCK : jck6.0
      J2SE : FAIL - mustang b48
                       PASS - mustang b47
      Platform[s] : FAIL - solaris, linux
      switch/Mode : FAIL - default
      JCK test owner : http://javaweb.sfbay/jcce/tcks/jck/docs/others/owners.jto

      Failing Tests : api/java_util/Date/index.html#misc

      Test source location:
      =====================
      /net/cady/export/dtf/unified/knight-ws/suites/jck/jck6.0/JCK-runtime-60/tests/api/java_util/Date/miscTests.java

      jtr file location:
      ==================
      attached

      How to reproduce:
      ==============================================
      -----------------script starts ----------------
      #!/bin/sh
      JDK=/net/koori/onestop/jdk/1.6.0/promoted/all/b48/binaries/solaris-sparc
      JCK=/net/jsqalab/export/testsuites/JCK/jck6.0/b06/JCK-runtime-60

      LD=LIBRARY_PATH="$JCK/lib/SunOS.sparc:$JCK/lib/SunOS.sparc/jmx"
      export LD_LIBRARY_PATH
      CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
      POLICY="-Djava.security.policy=$JCK/lib/jck.policy"

      TEST="javasoft.sqe.tests.api.java.util.Date.miscTests -TestCaseID ALL"
      echo `cat $JCK/build.txt | grep JCK_VERSION` `cat $JCK/build.txt | grep JCK_BUILD`
      $JDK/bin/java -showversion -cp $CLASSPATH $POLICY $TEST

      -----------------script ends ----------------

      Test output:
      =============
      JCK_VERSION=6.0 JCK_BUILD_ID=b06
      java version "1.6.0-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b48)
      Java HotSpot(TM) Client VM (build 1.6.0-ea-b48, mixed mode, sharing)
      ...
      Date2013: Failed. toString() returns wrong result : Sun May 16 08:47:04 PST -292275055
      Date2014: Failed. toGMTString() returns wrong result : 16 May -292275055 16:47:04 GMT
      ...
      ------Date2013------
      expected result = "Sun Dec 02 08:47:04 PST 292269055
      ------Date2014------
      expected result = 2 Dec 292269055 16:47:04 GMT
      STATUS:Failed.test cases: 42; passed: 40; failed: 2; first test case failure: Date2013

      Specific Machine Info:
      ==============================
      $ uname -a
      SunOS hiltonlv 5.10 Generic_118835-02 sun4u sparc SUNW,Ultra-60
      *** (#1 of 1): 2005-08-22 16:46:24 PDT ###@###.###

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                okutsu Masayoshi Okutsu
                Reporter:
                jsongsunw Joo Song (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: