Please review at your convenience: https://bugs.openjdk.java.net/browse/JDK-8184807 http://cr.openjdk.java.net/~bpb/8184807/webrev.00/ The return values of some Windows functions are incorrectly tested or not tested at all. This change would clean these up. Thanks, Brian