hg: jdk/jdk: 8087327: CipherStream produces new byte array on every update or doFinal operation

valerie.peng at oracle.com valerie.peng at oracle.com
Thu Jun 4 20:30:58 UTC 2020


Changeset: c67e2411d696
Author:    valeriep
Date:      2020-06-04 20:30 +0000
URL:       https://hg.openjdk.java.net/jdk/jdk/rev/c67e2411d696

8087327: CipherStream produces new byte array on every update or doFinal operation
Summary: Changed Cipher[In/Out]putStream to allocate a buffer and reuse it
Reviewed-by: weijun

! src/java.base/share/classes/javax/crypto/CipherInputStream.java
! src/java.base/share/classes/javax/crypto/CipherOutputStream.java



More information about the jdk-changes mailing list