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

JCK: api/java_sql/Timestamp/descriptions.html#Ctor fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux, solaris_2.6, windows_nt

      Description



      Name: skR10017 Date: 01/31/2001




      ****************************************************************************
      Failing Test:
      =============
      api/java_sql/Timestamp/descriptions.html#Ctor

      JCK :
      =====
      JCK1.3a

      Test source location:
      ====================
      /net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/java_sql/Timestamp/CtorTests.java

      Platforms:
      =============
      RedHat Linux 6.2
      Windows NT 4.0
      Solaris x86

      JDK, switches Info:
      ===================
      -client

      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail7/JavaWebServer1.1.3/public_html/QA/merlin/b49/jck13a/linux/redhat6.2_single_kde_client_linux-13/workDir/api/java_sql/Timestamp/descriptions_Ctor.jtr

      How to reproduce:
      ====================
      To reproduce the bug, run script below
      You may need to set JCK and JAVA_HOME.
      -------------------------------------------------------------------------------------
      #!/bin/sh
      SWITCH="$@"
      JAVA_HOME=/usr/local/java/jdk1.4/linux-i386
      JCK=/net/orthello/home2/JCK-13
      CLASSPATH=$JCK/classes:$JCK/javatest.jar
      export CLASSPATH
      executeClass="javasoft.sqe.tests.api.java.sql.Timestamp.CtorTests -TestCaseID ALL"

      $JAVA_HOME/bin/java ${SWITCH} -version
      $JAVA_HOME/bin/java ${SWITCH} -Xfuture -Djava.security.policy=${JCK}/lib/jck.policy ${executeClass}
      RESULT="$?"
      if [ $RESULT = 95 ]; then
       echo Test passed
      elif [ $RESULT = 97 ]; then
       echo Test failed
      else
       echo Result is $RESULT
      fi


      Test output:
      =============

      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b49)
      Java HotSpot(TM) Client VM (build 1.4beta-B49, mixed mode)
      Timestamp0001: Passed. OKAY
      Timestamp0002: Passed. OKAY
      Timestamp0003: Passed. OKAY
      Timestamp0004: Passed. OKAY
      Timestamp0005: Passed. OKAY
      Timestamp0006: Passed. OKAY
      Timestamp0007: Passed. OKAY
      Timestamp0008: Passed. OKAY
      Timestamp0009: Passed. OKAY
      Timestamp0010: Passed. OKAY
      Timestamp0011: Passed. OKAY
      Timestamp0012: Passed. OKAY
      Timestamp0013: Passed. OKAY
      Timestamp0014: Passed. OKAY
      Timestamp1001: Passed. OKAY
      Timestamp1002: Passed. OKAY
      Timestamp1003: Passed. OKAY
      Timestamp1004: Passed. OKAY
      Timestamp1005: Failed. Failed
      Timestamp1006: Failed. Failed
      Timestamp1007: Failed. Failed
      Timestamp0015: Passed. OKAY
      Timestamp0016: Passed. OKAY
      Timestamp1008: Failed. Failed
      time stamp created : [447-06-25 11:56:25.5475]
      time stamp expected: [190734447-06-25 11:56:25.5475]
      year = 2147483646; month = 5; day = 20; hour = 2; minute = 12; second = 59; nanos = 54750000
      0
      time stamp created : [448-06-24 11:56:25.5475]
      time stamp expected: [190734448-06-24 11:56:25.5475]
      year = 2147483647; month = 5; day = 20; hour = 2; minute = 12; second = 59; nanos = 54750000
      0
      time stamp created : [449-06-25 11:56:25.5475]
      time stamp expected: [190734449-06-25 11:56:25.5475]
      year = -2147483648; month = 5; day = 20; hour = 2; minute = 12; second = 59; nanos = 5475000
      00
      time stamp created : [450-06-25 11:56:25.5475]
      time stamp expected: [190734450-06-25 11:56:25.5475]
      year = -2147483647; month = 5; day = 20; hour = 2; minute = 12; second = 59; nanos = 5475000
      00
      time stamp created : [950-07-02 02:12:59.5475]
      time stamp expected: [178958950-07-02 02:12:59.5475]
      year = 80; month = 2147483646; day = 2; hour = 2; minute = 12; second = 59; nanos = 54750000
      0
      time stamp created : [950-08-02 02:12:59.5475]
      time stamp expected: [178958950-08-02 02:12:59.5475]
      year = 80; month = 2147483647; day = 2; hour = 2; minute = 12; second = 59; nanos = 54750000
      0
      time stamp created : [992-05-02 02:12:59.5475]
      time stamp expected: [178954992-05-02 02:12:59.5475]
      year = 80; month = -2147483648; day = 2; hour = 2; minute = 12; second = 59; nanos = 5475000
      00
      time stamp created : [992-06-02 02:12:59.5475]
      time stamp expected: [178954992-06-02 02:12:59.5475]
      year = 80; month = -2147483647; day = 2; hour = 2; minute = 12; second = 59; nanos = 5475000
      00
      time stamp created : [590-12-08 02:12:59.5475]
      time stamp expected: [5881590-12-08 02:12:59.5475]
      year = 80; month = 5; day = 2147483646; hour = 2; minute = 12; second = 59; nanos = 54750000
      0
      time stamp created : [590-12-09 02:12:59.5475]
      time stamp expected: [5881590-12-09 02:12:59.5475]
      year = 80; month = 5; day = 2147483647; hour = 2; minute = 12; second = 59; nanos = 54750000
      0
      time stamp created : [511-08-14 02:12:59.5475]
      time stamp expected: [5877511-08-14 02:12:59.5475]
      year = 80; month = 5; day = -2147483648; hour = 2; minute = 12; second = 59; nanos = 5475000
      00
      time stamp created : [511-08-15 02:12:59.5475]
      time stamp expected: [5877511-08-15 02:12:59.5475]
      year = 80; month = 5; day = -2147483647; hour = 2; minute = 12; second = 59; nanos = 5475000
      00
      time stamp created : [994-08-17 07:12:55.807]
      time stamp expected: [292278994-08-17 07:12:55.807]
      tm = 9223372036854775807STATUS:Failed.tests: 24; passed: 20; failed: 4; first test case failure: Ti
      mestamp1005

      Test failed


      Specific Machine Info:
      =====================
      Hostname: linux-13

      Additional JCK related info:
      ============================
      URL to find JCK test owners: http://javaweb.eng/jck/usr/owners.jto

      ======================================================================

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            kotlsunw Kotl Kotl (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: