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

java/net/DatagramSocket/SendDatagramToBadAddress.java failed with "Exception: send did not return expected error"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • 17.0.3, 18, 19
    • core-libs
    • x86_64, aarch64
    • os_x

      The following test failed in the JDK18 CI:

      java/net/DatagramSocket/SendDatagramToBadAddress.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(4/179)----------
      command: main SendDatagramToBadAddress
      reason: User specified action: run main/othervm SendDatagramToBadAddress
      Mode: othervm [/othervm specified]
      elapsed time (seconds): 20.069
      ----------configuration:(0/0)----------
      ----------System.out:(0/0)----------
      ----------System.err:(13/796)----------
      java.lang.Exception: send did not return expected error
      at SendDatagramToBadAddress.test(SendDatagramToBadAddress.java:183)
      at SendDatagramToBadAddress.run(SendDatagramToBadAddress.java:108)
      at SendDatagramToBadAddress.main(SendDatagramToBadAddress.java:100)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:577)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:833)

      JavaTest Message: Test threw exception: java.lang.Exception: send did not return expected error
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.Exception: send did not return expected error
      ----------rerun:(36/5975)*----------

            dfuchs Daniel Fuchs
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: