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

revisit java/net/DatagramSocket/SendCheck.java

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 15
    • core-libs
    • None

      test/jdk/java/net/DatagramSocket/SendCheck.java
      pkt1 and pkt2 are comment off:

              /*
              Commented until JDK-8236852 is fixed

              // loopback w/port 0 -- DC, DSA, MS, DS throws IO
              var pkt1 = new DatagramPacket(buf, 0, buf.length);
              pkt1.setAddress(InetAddress.getLoopbackAddress());
              pkt1.setPort(0);
               */

              /*
              Commented until JDK-8236852 is fixed

              // wildcard w/port 0 -- DC, DSA, MS, DS throws IO
              var pkt2 = new DatagramPacket(buf, 0, buf.length);
              pkt2.setAddress(wildcard.getAddress());
              pkt2.setPort(0);
              */

      Mentioned issue JDK-8236852 has been fixed via JDK-8240533 in jdk-15+18. Test should be updated and/or cleanup.

            pconcannon Patrick Concannon (Inactive)
            amlu Amy Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: