Please review this small change to detect and handle an invalid argument to this method. JBS: https://bugs.openjdk.java.net/browse/JDK-8049896 Webrev: http://cr.openjdk.java.net/~jjg/8049896/webrev/ -- Jon