RFR[8240533]: 'Inconsistent Exceptions are thrown by DatagramSocket and DatagramChannel when sending a DatagramPacket to port 0.'

Chris Hegarty chris.hegarty at oracle.com
Tue Mar 31 14:33:45 UTC 2020


Patrick,

> On 31 Mar 2020, at 15:08, Daniel Fuchs <daniel.fuchs at oracle.com> wrote:
> 
>> ..
>> bug: https://bugs.openjdk.java.net/browse/JDK-8240533
>> webrev: http://cr.openjdk.java.net/~pconcannon/8240533/webrevs/webrev.00/

Look good Patrick.

The check is deliberately performed after the security manager checks, right? If so, it is worth asserting this in a test.

-Chris.



More information about the nio-dev mailing list