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

DatagramChannel/IsConnected.java failed due to "BindException: Address already in use"

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 15
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      The following test failed in the JDK15 CI:

      java/nio/channels/DatagramChannel/IsConnected.java

      Here's a snippet from the log file:

      ----------System.err:(16/970)----------
      java.net.BindException: Address already in use
      at java.base/sun.nio.ch.Net.connect0(Native Method)
      at java.base/sun.nio.ch.Net.connect(Net.java:515)
      at java.base/sun.nio.ch.DatagramChannelImpl.connect(DatagramChannelImpl.java:1243)
      at java.base/sun.nio.ch.DatagramChannelImpl.connect(DatagramChannelImpl.java:1202)
      at IsConnected.main(IsConnected.java:44)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:832)

      JavaTest Message: Test threw exception: java.net.BindException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.net.BindException: Address already in use

        Attachments

          Activity

            People

            • Assignee:
              pconcannon Patrick Concannon
              Reporter:
              dcubed Daniel Daugherty
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: