summaryrefslogtreecommitdiff
path: root/include/ScopedJavaUnicodeString.h
diff options
context:
space:
mode:
authorShubham Ajmera <shubhamajmera@google.com>2016-07-19 17:31:13 +0100
committerShubham Ajmera <shubhamajmera@google.com>2016-07-20 16:56:27 +0100
commit2b41a213a1acd92193c724398919fcfdf89e1f55 (patch)
treebbc86ce0af71f6b67951c0f22fd462c74bf04fdf /include/ScopedJavaUnicodeString.h
parentf9228566edcc7397ce58a92aac70e6850a6cccfb (diff)
Port OpenJDK 8 changes to CipherInputStream
List of changes: - Throwing back IllegalBlockException, BadPaddingException and IllegalStateException caught in getMoreDate(). - An instance variable has been introduced to keep a note of state of the stream. If the stream is already closed, close method doesn't perform any operations. Also, minor optimization to not to call cipher.doFinal() when the end of the input stream has already been reached. - Minor updates in JavaDocs. Added test for change in behavior of close method. Test: libcore.javax.crypto.CipherInputStreamTest Test: org.apache.harmony.crypto.tests.javax.crypto.CipherInputStreamTest Test: org.apache.harmony.crypto.tests.javax.crypto.CipherInputStream1Test Bug: 29631070 Change-Id: I407256a1b9ec2c72a59ce3ba50192496cd86d4bb
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions