Martin has reported a serious regression involving PKCS12 keystores in JDK 9. It affects large PKCS12 keystores loaded using the new KeyStore.getInstance(File, xxx) method. The error is due to a typo in the masks used by the keystore type detection mechanism.
Bug: https://bugs.openjdk.java.net/browse/JDK-8181978 Webrev: http://cr.openjdk.java.net/~vinnie/8181978/webrev.00/
