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

REGRESSION: JCK1.5-runtime api/java_util/Date/index.html#misc fails

XMLWordPrintable

    • b30
    • generic
    • generic
    • Verified



      Name: iaR10016 Date: 11/16/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b28
                        (passes with JDK1.5.0-b26, JDK1.4.2-b28)
      JCK : JCK1.5-runtime (b08)
      Platform[s] : all
      switch/Mode : default
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Falling test[s]: api/java_util/Date/index.html#misc [Date1025, Date2015]

      Test source location:
      =====================
      /java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15/tests/api/java_util/Date/miscTests.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b28/jck15/x86/sol10_x86_gnome_server_linux-18/workDir/api/java_util/Date/index_misc.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change its variables)

      --- script start ---
      #!/bin/bash

      #Paths in Java Software:
      JDK="/java/re/jdk/1.5.0/promoted/all/b28/binaries/solaris-i586"
      JCK="/java/re/jck/1.5/promoted/beta/b04/binaries/JCK-runtime-15"

      #Alternative paths outside Java Software:
      #JDK="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b28/binaries/solaris-i586"
      #JCK="/net/koori.sfbay/onestop/jck/1.5/promoted/beta/b04/binaries/JCK-runtime-15"

      export CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
      $JDK/bin/java -showversion javasoft.sqe.tests.api.java.util.Date.miscTests -TestCaseID Date1025 Date2015
      --- script end ---

      Test output:
      ============
      java version "1.5.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b28)
      Java HotSpot(TM) Client VM (build 1.5.0-beta-b28, mixed mode)

      Date1025: Failed. Date.UTC(int, ... , int) returns wrong result : 6017484157339406464
      Date2015: Failed. Date.UTC(int, ... , int) returns wrong result : 9223058309461200000
      ------Date1025------
      year = 2147481748
      month = 0
      date = 1
      hours = 0
      minutes = 0
      seconds = 0
      expected result = 6017484157321406464
      ------Date2015------
      year = 292267153
      month = 0
      date = 1
      hours = 0
      minutes = 0
      seconds = 0
      expected result = 9223058309443200000
      STATUS:Failed.test cases: 2; all failed; first test case failure: Date1025

      Specific machine info:
      ======================
      Hostname: linux-1
      OS: Solaris 8 (sparc) (CDE)
      Hostname: linux-18
      OS: Solaris 10 (x86) (GNOME)
      Hostname: linux-21
      OS: Windows XP Home
      Hostname: linux-24
      OS: RedHat Advanced Server 2.1 (Gnome)

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

            okutsu Masayoshi Okutsu
            irasunw Ira Ira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: