RFR(S): 8166850: No runtime error expected after calling NET_MapSocketOption

Langer, Christoph christoph.langer at sap.com
Wed Sep 28 15:39:46 UTC 2016


Hi,

during my work on exception sites in the JDK, I spotted another minor place that should be fixed. In the Windows native implementations of DualStackPlainDatagramSocketImpl and DualStackPlainSocketImpl, there are calls to evaluate OS API errors after unsuccessful return of NET_MapSocketOption where this should not be done. Please review my fix. I also took the opportunity to clean up some indentations.

Bug: https://bugs.openjdk.java.net/browse/JDK-8166850
Webrev: http://cr.openjdk.java.net/~clanger/webrevs/8166850.0/

Thanks
Christoph

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/net-dev/attachments/20160928/54fc3480/attachment.html>


More information about the net-dev mailing list