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

JCK: api/java_net/Socket/descriptions.html#shutdown fails on Windows

XMLWordPrintable

    • beta
    • x86
    • generic
    • Verified



      Name: skR10017 Date: 12/09/2000



      JCK1.3 test api/java_net/Socket/descriptions.html#shutdown fails
      on Windows

      To reproduce the bug, run script below
      You should set JCK and JAVA_HOME.
      -------------------------------------------------------------------------------------
      #!/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.net.Socket.shutdownTests"

      $JAVA_HOME/bin/java -version
      $JAVA_HOME/bin/java -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
      --------------------------------------------------------------------------------------

      java version "1.4.0beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0beta-b42)
      Java HotSpot(TM) Client VM (build B42, mixed mode)
      waiting...
      Socket2018: Failed. unexpected Exception java.net.SocketException: Connection aborted by peer: JVM_recv in socket input stream read
      Socket2019: Passed. OKAY
      STATUS:Failed. tests: 2; passed: 1; failed: 1; first test case failure: Socket2018

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

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

            alanb Alan Bateman
            kotlsunw Kotl Kotl (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: