See [JCLOUDS-1354](https://issues.apache.org/jira/browse/JCLOUDS-1354).  Reuse 
a single instance of `BouncyCastleProvider`, because every instance used at 
least once will be retained forever in the JCE providers map (in 
`javax.crypto.JceSecurity` - see also 
[JDK-8168469](https://bugs.openjdk.java.net/browse/JDK-8168469)).
You can view, comment on, or merge this pull request online at:

  https://github.com/jclouds/jclouds/pull/1156

-- Commit Summary --

  * [JCLOUDS-1354] avoid memory leak by reusing BouncyCastleProvider

-- File Changes --

    M 
drivers/bouncycastle/src/main/java/org/jclouds/encryption/bouncycastle/BouncyCastleCrypto.java
 (19)

-- Patch Links --

https://github.com/jclouds/jclouds/pull/1156.patch
https://github.com/jclouds/jclouds/pull/1156.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/1156

Reply via email to