Webrev: http://cr.openjdk.java.net/~andrew/jdk7u/6414899/webrev.01/ 8 changeset: http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/cdc128128044
This patch has been in IcedTea 2.x since the 2.3.0 release on 2012-08-15. It adds some missing functionality to the PKCS11 provider, allowing it to work with the tests in test/com/sun/oracle/security/ucrypto (they expect a digest to be cloneable). The 7 version is identical to the 8 version, save the removal of a copyright line update (the file has already been bumped to a later year). The change is simpler than it may appear as the patch also contains a lot of re-formatting, particularly in PKCS11.java Ok to push? Thanks, -- Andrew :) Senior Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) PGP Key: ed25519/35964222 (hkp://keys.gnupg.net) Fingerprint = 5132 579D D154 0ED2 3E04 C5A0 CFDA 0F9B 3596 4222