diff options
author | Courtney Goeltzenleuchter <courtneygo@google.com> | 2019-02-11 11:24:58 -0700 |
---|---|---|
committer | Courtney Goeltzenleuchter <courtneygo@google.com> | 2019-02-11 11:24:58 -0700 |
commit | 9e82c386059119b4eb5e58b7a11ff7b7d96b96f4 (patch) | |
tree | 5843fa4fe3f30f2ef57086ae1cdbb5c3b3b3005a /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 9b5f31b88469d36204d7b8b1bc9db0af1ae0d6e1 (diff) |
Must return after throwing exception
You cannot keep using a JNI env while there's a pending exception.
https://docs.oracle.com/javase/8/docs/technotes/guides/jni/spec/design.html#exceptions_and_error_codes
Issue discovered with EG15 addition, fixing EGL14 interface for
consistency.
Bug: 124064285
Test: atest android.graphics.cts.EGL14Test
Change-Id: Iba3f1536d5f3b70a8f60b905ba020d9fbe3fda8a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions