summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorPrzemyslaw Szczepaniak <pszczepaniak@google.com>2016-11-09 14:08:28 +0000
committerPrzemyslaw Szczepaniak <pszczepaniak@google.com>2016-11-10 08:53:53 +0000
commitec2262e64709932f58f88dd448fab25f4be7f663 (patch)
tree4f622d73ca40818f45dde8b802dd7bdc07482ced /annotations/generate_annotated_java_files.py
parent070ebb7313e5f5253ec6fc973ebb659f493a71d1 (diff)
Fix ZipFile exception for non-existent files
This change fixes N regression in java.util.zip.ZipFile constructor. In previous android releases, for non-existent files, ZipFile constructor was throwing FileNotFoundException. Due to change in commit adc40417389a57bc7a831f55334bffcc07343eb9, N started to use ZipException in this case. This change reverts to pre-N behavior. Test: libcore.java.util.zip.ZipFileTest Bug: 31077136 Change-Id: I7c7240d0808552f4e0cf4ed4ccbda7537df2d2b1 (cherry picked from commit d95a908045486d862dfe0be056dd4ecfb3bd7693)
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions