Re: RFR[8246164]: ‘SendDatagramToBadAddress.java and ChangingAddress.java should be changed to explicitly require the new DatagramSocket implementation’

Patrick Concannon patrick.concannon at oracle.com
Fri Jul 31 10:48:20 UTC 2020


Thanks Vyom!

-Patrick

> On 30 Jul 2020, at 05:41, Vyom Tiwari <vyommani at gmail.com> wrote:
> 
> Hi Patrick,
> Changes looks ok to me.
> Thanks,
> Vyom
> 
> On Wed, Jul 29, 2020 at 9:45 PM Patrick Concannon <patrick.concannon at oracle.com <mailto:patrick.concannon at oracle.com>> wrote:
> Hi,
> 
> Could someone please review my fix for JDK-8246164 — ‘SendDatagramToBadAddress.java and ChangingAddress.java should be changed to explicitly require the new DatagramSocket implementation’.
> 
> The issues addressed by the tests `java/net/DatagramSocket/SendDatagramToBadAddress.java` and `java/nio/channels/DatagramChannel/ChangingAddress.java` have been fixed by the new implementation of DatagramSocket. They are still known to fail on macOS with the old implementation, however. 
> 
> This fix updates these tests to explicitly run with `-Djdk.net.usePlainDatagramSocketImpl=false` to avoid false failures when running all tests with a global jtreg -Djdk.net.usePlainDatagramSocketImpl switch.
> 
> issue: https://bugs.openjdk.java.net/browse/JDK-8246164 <https://bugs.openjdk.java.net/browse/JDK-8246164>
> webrev: cr.openjdk.java.net/~pconcannon/8246164/webrevs/webrev.00/ <http://cr.openjdk.java.net/~pconcannon/8246164/webrevs/webrev.00/>
> 
> Kind regards,
> Patrick
> 
> 
> -- 
> Thanks,
> Vyom

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/net-dev/attachments/20200731/a4a1933a/attachment.htm>


More information about the net-dev mailing list