<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span style="white-space: nowrap;" class="">Please review this change to unpin the Mac implementation from the SunJCE provider.</span><div class=""><span style="white-space: nowrap;" class="">Since the Mac is a private field there are no issues regarding Clonable implementations for Mac or its MessageDigest.</span><br class=""><div class=""><span style="white-space: nowrap;" class="">Thanks.</span></div><div class=""><span style="white-space: nowrap;" class=""><br class=""></span></div><div class=""><span style="white-space: nowrap;" class="">Bug: <a href="https://bugs.openjdk.java.net/browse/JDK-6977937" class="">https://bugs.openjdk.java.net/browse/JDK-6977937</a></span></div><div class=""><span style="white-space: nowrap;" class=""><br class=""></span></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">diff --git a/src/java.base/share/classes/com/sun/crypto/provider/PBKDF2KeyImpl.java b/src/java.base/share/classes/com/sun/crypto/provider/PBKDF2KeyImpl.java</b></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(195, 55, 32);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">--- a/src/java.base/share/classes/com/sun/crypto/provider/PBKDF2KeyImpl.java</b></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(52, 189, 38);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">+++ b/src/java.base/share/classes/com/sun/crypto/provider/PBKDF2KeyImpl.java</b></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(213, 59, 211);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">@@ -107,7 +107,7 @@</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">             throw new InvalidKeySpecException("Key length is negative");</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">         }</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">         try {</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(195, 55, 32);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">-            this.prf = Mac.getInstance(prfAlgo, SunJCE.getInstance());</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(52, 189, 38);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">+            this.prf = Mac.getInstance(prfAlgo);</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">         } catch (NoSuchAlgorithmException nsae) {</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">             // not gonna happen; re-throw just in case</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">             InvalidKeySpecException ike = new InvalidKeySpecException();</span></div></div></div></body></html>