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

JCK1.3a api/java_net/DatagramSocket/index.html#connect hangs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.4.0
    • core-libs
    • x86
    • linux, windows_nt



      Name: asR10013 Date: 01/24/2001



      Bug description ---> JCK1.3a test api/java_net/DatagramSocket/index.html#connect
      hangs forever.
      ****************************************************************************
      Failing Test:
      =============
      api/java_net/DatagramSocket/index.html#connect

      JCK :
      =====
      JCK1.3a

      Test source location:
      ====================
      /net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/java_net/DatagramSocket/connectTests.java
      /net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/java_net/DatagramSocket/DatagramTestServer.java

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

      JDK, switches Info:
      ===================
      jdk1.4.0beta-b48 -client -Xmixed
      jre1.4.0beta-b48 plugin for Netscape 4.7

      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail7/JavaWebServer1.1.3/public_html/QA/merlin/b48/jck13a/linux/redhat6.2_single_kde_plugin_ns4.7_linux-12/workDir/api/java_net/DatagramSocket/index_connect.jtr

      How to reproduce:
      ====================
      Run the following script:

      #!/bin/ksh

      SWITCH=$@

      JDK=/net/jdk/export/disk8/local.java/jdk1.4.0

      #This is where you want the JCK to be use.
      #Example: TESTBASE=/net/jdk/export/disk8/local.java/jck1.3a
      TESTBASE=/net/jdk/export/disk8/local.java/jck1.3a
      JCK=${TESTBASE}/JCK-runtime-13a

      executeClass=javasoft.sqe.tests.api.java.net.DatagramSocket.connectTests
      excludeCmd=
      executeClassArgs=
      executeTestURL=

      case `uname -s` in
          SunOS)
      ARCH=`uname -p`
      case $ARCH in
      sparc)
      sharedJDK=$JDK/solsparc
      ;;
      i386)
      sharedJDK=$JDK/solx86
      ;;
      esac
      ;;
          Linux)
      sharedJDK=$JDK/linux-i386
      ARCH=linux
      ;;
      esac

      CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
      DISPLAY=${DISPLAY-$HOST:0.0}
      LD_LIBRARY_PATH=${JCK}/lib/${ARCH}
      PATH=$JDK/bin:$sharedJDK/bin:$PATH

      export PATH CLASSPATH DISPLAY LD_LIBRARY_PATH

      echo
      java ${SWITCH} -version
      echo
      java ${SWITCH} -verify -Xfuture -Djava.security.policy=${JCK}/lib/jck.policy ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeTestURL}

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

      ... hangs forever ...

      Specific Machine Info:
      =====================

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


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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: