commit | 57a65ad7f0be5b9d0364d36208752f66e9f13596 | [log] [tgz] |
---|---|---|
author | Przemyslaw Szczepaniak <pszczepaniak@google.com> | Tue Aug 29 15:00:09 2017 +0100 |
committer | Przemyslaw Szczepaniak <pszczepaniak@google.com> | Wed Aug 30 11:30:50 2017 +0100 |
tree | 8752d52a76671cf68514e80aba5c4cf761d73de1 | |
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