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

JCK: api/java_lang/Character/index.html#equals fails on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.0
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      beta
    • CPU:
      x86
    • OS:
      windows_2000
    • Verification:
      Verified

      Description

      Name: skR10017 Date: 12/22/2000

      The following JCK1.3 test fails on Windows in -server -Xcomp mode:

      Failing Test:
      =============
      api/java_lang/Character/index.html#equals

      JCK:
      ====
      JCK1.3

      Test source location:
      ====================
      /net/jdk/export/disk8/local.java/jck1.3/JCK-runtime-13fcs/tests/api/java_lang/Character/equalsTests.java


      Platforms:
      =============
      Windows 2000

      JDK, switches Info:
      ===================
      % java -server -Xcomp -version
      java version "1.4.0beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0beta-b44)
      Java HotSpot(TM) Server VM (build 1.4beta-B44, compiled mode)

      How to reproduce:
      ====================
      To reproduce the bug, run script below (You may need to set JCK and JAVA_HOME).
      Map your H drive to \\jdk\local-java
      ---------------------------------------------------------------------------------
      #!/bin/sh
      JAVA_HOME="H:/jdk1.4.0/win32"
      JCK="H:/jck1.3/JCK-runtime-13fcs"
      CLASSPATH="$JCK/classes;$JCK/javatest.jar"
      export CLASSPATH
      executeClass="javasoft.sqe.tests.api.java.lang.Character.equalsTests"

      $JAVA_HOME/bin/java -server -Xcomp -version
      $JAVA_HOME/bin/java -server -Xcomp -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.0beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0beta-b44)
      Java HotSpot(TM) Server VM (build 1.4beta-B44, compiled mode)
      Character0001: Passed. OKAY
      Character0002: Passed. OKAY
      Character0003: Passed. OKAY
      Character0004: Failed. True expected
      Character2036: Passed. OKAY
      STATUS:Failed. tests: 5; passed: 4; failed: 1; first test case failure: Character0004



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

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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: