Thanks for the Round-0 comments!
Please, take a look at the updated patch. Issue : https://bugs.openjdk.java.net/browse/JDK-8037274 Webrev: http://cr.openjdk.java.net/~jbachorik/8037274/webrev.02/The change is about adding the the last error code number to the default provided failure message if FormatMessage() is not able recognize the error code for whatever reason.
Thanks! -JB-