Duplicate :
|
|
Relates :
|
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.