Re: [PATCH] CipherStream produces new byte array on every update or doFinal operation

2015-06-12 Thread Valerie Peng
Thanks! I have test/modified the patch locally but have yet to create a bug to track it. Valerie On 6/12/2015 4:52 AM, Sean Mullan wrote: FYI, I created a bug to track this: https://bugs.openjdk.java.net/browse/JDK-8087327 --Sean On 02/20/2015 02:50 PM, Valerie Peng wrote: I started with

Re: [PATCH] CipherStream produces new byte array on every update or doFinal operation

2015-06-12 Thread Sean Mullan
FYI, I created a bug to track this: https://bugs.openjdk.java.net/browse/JDK-8087327 --Sean On 02/20/2015 02:50 PM, Valerie Peng wrote: I started with this, but I have a pressing higher priority tasks at hand. So, it will take me a few weeks to wrap this up. Regards, Valerie On 2/17/2015 4:0

Re: [PATCH] CipherStream produces new byte array on every update or doFinal operation

2015-02-20 Thread Valerie Peng
I started with this, but I have a pressing higher priority tasks at hand. So, it will take me a few weeks to wrap this up. Regards, Valerie On 2/17/2015 4:06 PM, Dai Nakanishi wrote: Hi, CipherInputStream and CipherOutputStream call the Cipher methods update and doFinal which produce new byte

[PATCH] CipherStream produces new byte array on every update or doFinal operation

2015-02-17 Thread Dai Nakanishi
Hi, CipherInputStream and CipherOutputStream call the Cipher methods update and doFinal which produce new byte array. It may consume a large amount of memory. The purpose of my patch is to avoid this. Could you review the patch? Thanks, Dai --- old/src/share/classes/javax/crypto/CipherInputStre