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

JCK7: api/java_net/Inet6Address/serial/index.html#Constructor failed if no IPv6 intf on host

XMLWordPrintable

    • b17
    • 7
    • generic
    • generic

      Filed by : JCK Team
      JavaSE : FAILED since 1.7.0-ea-b17
                      PASSED in 1.6.0-b105 and before 1.7.0-ea-b17
      JCK : JCK7-runtime b02
      Platform[s] : solaris-sparc
      switch/Mode : default
      JCK test owner: http://javaweb.sfbay/jcce/tcks/jck/docs/others/owners.jto

      Failed Test:
      =============
      api/java_net/Inet6Address/serial/index.html#Constructor

      This JCK test failed since JDK7-b17 when there is no IPv6 interface on host, and passed when IPv6 support exists.

      Test source location:
      =====================
      /java/re/jck/7/promoted/ea/b02/binaries/JCK-runtime-7/tests/api/java_net/Inet6Address/serial/

      How to reproduce:
      =================
      Login to host without IPv6 support and run the following script:

      ---index_Constructor.sh---
      #!/bin/sh
      TCK_HOME=/java/re/jck/7/promoted/ea/b02/binaries/JCK-runtime-7
      CLASSPATH="$TCK_HOME/classes"
      JAVA_HOME=/java/re/jdk/7/promoted/all/b30/binaries/solaris-sparc

      "$JAVA_HOME/bin/java" -cp $CLASSPATH javasoft.sqe.tests.api.java.net.Inet6Address.serial.ConstructorTests -TestCaseID ALL
      if [ $? != 95 ] ; then
        echo "-- failed "; exit 1 ;
      fi
      echo "-- passed"; exit 0
      ---index_Constructor.sh---

      # ./index_Constructor.sh
      serial2001: Failed. FAILED
      Can't create object. Exception thrown: java.net.SocketException: No such file or directory
      STATUS:Failed.test cases: 1; all failed; first test case failure: serial2001
      -- failed

            chegar Chris Hegarty
            ygaevsky Yuri Gaevsky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: