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

Intermittent failure in java/net/DatagramSocket/InheritHandle.java

    XMLWordPrintable

Details

    • b47
    • generic
    • windows

    Backports

      Description

        There is one failure during JDK 9 same binary run. Found a history issue JDK-8022211/8 with similar error, which was closed as "Cannot Reproduced."


        This is the error message:
        java.net.BindException: Address already in use: Cannot bind
        at java.net.DualStackPlainDatagramSocketImpl.socketBind(Native Method)
        at java.net.DualStackPlainDatagramSocketImpl.bind0(DualStackPlainDatagramSocketImpl.java:84)
        at java.net.AbstractPlainDatagramSocketImpl.bind(AbstractPlainDatagramSocketImpl.java:93)
        at java.net.DatagramSocket.bind(DatagramSocket.java:374)
        at InheritHandle.main(InheritHandle.java:46)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:484)
        at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:754)
        at java.lang.Thread.run(Thread.java:745)

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

        Attachments

          Issue Links

            Activity

              People

                xiaofeya Xiaofeng Yang
                xiaofeya Xiaofeng Yang
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: