diff options
author | Przemyslaw Szczepaniak <pszczepaniak@google.com> | 2017-08-29 15:00:09 +0100 |
---|---|---|
committer | Przemyslaw Szczepaniak <pszczepaniak@google.com> | 2017-08-30 16:57:44 +0100 |
commit | 3c3ee8a421312ee7507ba3f07c3e1b1ba50cc4d7 (patch) | |
tree | aadf3488da04d0b86a267a79e62601fe15a77e0d /annotations/generate_annotated_java_files.py | |
parent | 7cd7bf2e543625280ac22d7b2a18ffa3e3cbbe44 (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
(cherry picked from commit 57a65ad7f0be5b9d0364d36208752f66e9f13596)
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions