Please review this fix to PBE key derivation function which detects when a non-empty password is supplied to the SunPKCS11-Solaris JCE provider and fails over to the SunJCE provider instead. Thanks.
Bug: https://bugs.openjdk.java.net/browse/JDK-8164494 Webrev: http://cr.openjdk.java.net/~vinnie/8164494/webrev.00/ <http://cr.openjdk.java.net/~vinnie/8164494/webrev.00/>