On Thu, 21 Jan 2021 16:25:13 GMT, Weijun Wang <wei...@openjdk.org> wrote:
>>> please add noreg label to the JBS bug. >> >> Added. Thanks. > > Just pushed a new commit. First I merged into the RSA PKCS #1 code change > from @valeriepeng, and then reapplied the cleanup to `RSAKeyFactory`. Most > new code change is inside `RSAPrivateCrtKeyImpl`. I also updated `DerValue` > and `DerOutpuStream` a little to avoid unnecessary array copying. New commit. However, I was writing test to detect leak in `RSAPrivateKeySpec` conversion and add more key->spec->key for other algorithms and find more leaks. Will fix in another commit. ------------- PR: https://git.openjdk.java.net/jdk/pull/2070