On Sat, 25 Jun 2022 05:24:23 GMT, Alan Bateman <[email protected]> wrote:
>> Failure was observed on >> java/net/DatagramSocket/InterruptibleDatagramSocket.java where data was >> received unexpectedly ( >> [JDK-8286607](https://bugs.openjdk.org/browse/JDK-8286607)). This failure >> could be caused by interference from other ongoing tests. The fix here is to >> output the unexpected received data and the sender's address for a further >> investigation ([JDK-8286610](https://bugs.openjdk.org/browse/JDK-8286610)). > > test/jdk/java/net/DatagramSocket/InterruptibleDatagramSocket.java line 101: > >> 99: public static void main(String[] args) throws Exception { >> 100: try (DatagramSocket s = new DatagramSocket()) { >> 101: System.out.println("Established uninterruptible datagram >> socket " > > "Established uninterruptible datagram socket" is a bit strange. I think I you > want to this to say "Created datagram socket bound to port %d". I think information on the scenario under test would be useful, such as, "Testing interrupt of DatagramSocket receive on endpoint " + s.getLocalSocketAddress() "Testing interrupt of MulticastSocket receive on endpoint " + s.getLocalSocketAddress() "Testing interrupt of DatagramChannel socket receive on endpoint " + s.getLocalSocketAddress() ------------- PR: https://git.openjdk.org/jdk/pull/9278
