RFR: JDK-8068597 - Add error code to to exception condition message resulting from GetAdaptersAddresses function calls

Mark Sheppard mark.sheppard at oracle.com
Thu Jan 8 14:16:06 UTC 2015


Hi
     please oblige and review the following additional code to
src/java.base/windows/native/libnet/NetworkInterface_winXP.c

webrev: http://cr.openjdk.java.net/~msheppar/8068597/webrev/

JBS item: https://bugs.openjdk.java.net/browse/JDK-8068597

which is a temporary addition to assist in the investigation and diagnosis
of a problem on Windows in the NetworkInterface.getNetworInterfaces() 
call flow,
as highlighted in https://bugs.openjdk.java.net/browse/JDK-8065078

There are intermittent failures of the  GetAdaptersAddresses Windows API 
function call.
The extra diagnostic adds the error code to the Exception message thrown.

regards
Mark


More information about the net-dev mailing list