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