summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorShubham Ajmera <shubhamajmera@google.com>2016-11-15 14:03:33 +0000
committerShubham Ajmera <shubhamajmera@google.com>2016-12-06 20:54:48 +0000
commite115d420adb1319cc157c57695ee0d643adc6f96 (patch)
tree7c5baf89ece79e9b86ea28f210e6dd0f76d8a8b3 /annotations/generate_annotated_java_files.py
parent1f9933397eb3374355bc3e4c6c041a949d40050a (diff)
Revert "Revert "Cut down on object allocation in CipherInputStream""
As Cipher#getOutputSize can return different value in some cases for the same cipher object and input buffer. To accomodate the behavior, the size of the output buffer should be checked every time when the CipherInputStream#getMoreData is called and whenever the new size is greater than the current size, array must be reinitialized. This reverts commit 298b528cc2a25dedb0e818949d1e5c560a3498de. Bug: 32643789 Test: CipherInputStreamTest in vogar Change-Id: I6c9685a2a058eac6cfc4be9e0e81d397929baf58
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions