hg: jdk/jdk: 8178374: Problematic ByteBuffer handling in CipherSpi.bufferCrypt method

valerie.peng at oracle.com valerie.peng at oracle.com
Mon Jun 11 21:57:12 UTC 2018


Changeset: e93ba293e962
Author:    valeriep
Date:      2018-06-11 21:56 +0000
URL:       http://hg.openjdk.java.net/jdk/jdk/rev/e93ba293e962

8178374: Problematic ByteBuffer handling in CipherSpi.bufferCrypt method
Summary: Updated the impl and added reg test to cover all 4 combinations of ByteBuffers
Reviewed-by: ascarpino

! src/java.base/share/classes/javax/crypto/CipherSpi.java
+ test/jdk/javax/crypto/CipherSpi/TestGCMWithByteBuffer.java



More information about the jdk-changes mailing list