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

BindException is failing on Linux but passing on Solaris and Windows with Tiger JDKS.

XMLWordPrintable

    • x86
    • linux_suse_sles_9

      Testcase from regression workspace, BindException/Test.java is failing on Linux but passing on Solaris and Windows platforms with Tiger JDKS.

      Testcase Location:
      ==================
      /net/urts071.india/export6/testSuites/Regression/workspace_150/test/java/net/BindException/Test.java

      JDK:
      ====
      java -version
      java version "1.5.0_07-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-ea-b01)
      Java HotSpot(TM) Client VM (build 1.5.0_07-ea-b01, mixed mode, sharing)

      Operating System:
      ================
      cat /etc/SuSE-release
      SUSE LINUX Enterprise Server 9 (i586)
      VERSION = 9

      Steps to reproduce:
      ===================
      1. Install JDK in test machine.
      2. copy attached Test.java file into test machine.
      3. Compile .java file with tested JDK with following command:
         <jdk location>/bin/javac Test.java
      4. Start the test with the following command:
         <jdk location>/bin/java Test

      ERROR:
      ======
      **************************
      Test 2
      ServerSocket binds: /10.12.152.134 port: 50433
      Socket binds: /fe80:0:0:0:20c:f1ff:fefd:200%2
      BindException unexpected - test failed!!!

      **************************
      Test 3
      ServerSocket binds: /fe80:0:0:0:20c:f1ff:fefd:200%2 port: 0
      Socket binds: /10.12.152.134
      BindException unexpected - test failed!!!

      **************************
      Test 6
      Socket binds: /10.12.152.134 port: 50435
      Socket binds: /fe80:0:0:0:20c:f1ff:fefd:200%2
      BindException unexpected - test failed!!!

      **************************
      Test 7
      Socket binds: /fe80:0:0:0:20c:f1ff:fefd:200%2 port: 0
      Socket binds: /10.12.152.134
      BindException unexpected - test failed!!!

      **************************
      Test 10
      DatagramSocket binds: /10.12.152.134 port: 33016
      DatagramSocket binds: /fe80:0:0:0:20c:f1ff:fefd:200%2
      BindException unexpected - test failed!!!

      **************************
      Test 11
      DatagramSocket binds: /fe80:0:0:0:20c:f1ff:fefd:200%2 port: 0
      DatagramSocket binds: /10.12.152.134
      BindException unexpected - test failed!!!

      12 test(s) executed. 6 failure(s).
      Exception in thread "main" java.lang.Exception: 6 tests(s) failed - see log
              at Test.main(Test.java:201)

            chegar Chris Hegarty
            ssubhanisunw Shaik Subhani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: