diff options
author | Przemyslaw Szczepaniak <pszczepaniak@google.com> | 2017-08-29 15:00:09 +0100 |
---|---|---|
committer | Przemyslaw Szczepaniak <pszczepaniak@google.com> | 2017-08-30 11:30:50 +0100 |
commit | 57a65ad7f0be5b9d0364d36208752f66e9f13596 (patch) | |
tree | 8752d52a76671cf68514e80aba5c4cf761d73de1 /annotations/generate_annotated_java_files.py | |
parent | fc4f97d3d7f1457ea805c65a6dd4a801b8ea0895 (diff) |
Fix JNI error in Linux.(pipe2|sendfile).
JNI code in libcore.io.Linux.pipe2 and sendfile
were calling JNIEnv methods even if there was a pending
exception created by throwIfMinusOne helper method.
Fixed the code to return quickly if there's a pending errno
exception.
Test: libcore.io.OsTest
Bug: 65051835
Change-Id: Id921da9e1592b10889c495edb6b4c9919d181e3f
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions