diff options
author | Andreas Gampe <agampe@google.com> | 2015-04-10 19:57:29 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2015-04-10 20:42:14 -0700 |
commit | 48ee356484225ef0d7cfa197b1699524b866c802 (patch) | |
tree | ea33754d124d5e15b02e1a7c09c81d27fd625ba3 /test/MyClassNatives/MyClassNatives.java | |
parent | 58565098b2298041ccc97371a3cc486df88d51b3 (diff) | |
download | art-48ee356484225ef0d7cfa197b1699524b866c802.tar.gz art-48ee356484225ef0d7cfa197b1699524b866c802.tar.bz2 art-48ee356484225ef0d7cfa197b1699524b866c802.zip |
ART: Ignore result for exception-case JNIEndWithReference
The value may not contain a valid jobject, so ignore and use null
directly.
Refactor a bit to have one common function for both synchronized
and non-synchronized case.
Add a test to the JNI compiler tests.
Bug: 18135031
Change-Id: If2f004a112f36f4ff68172a946dec67ce561ae4d
Diffstat (limited to 'test/MyClassNatives/MyClassNatives.java')
-rw-r--r-- | test/MyClassNatives/MyClassNatives.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/MyClassNatives/MyClassNatives.java b/test/MyClassNatives/MyClassNatives.java index fab153b624..8b4a9a4a31 100644 --- a/test/MyClassNatives/MyClassNatives.java +++ b/test/MyClassNatives/MyClassNatives.java @@ -80,6 +80,7 @@ class MyClassNatives { Object o248, Object o249, Object o250, Object o251, Object o252, Object o253); native void withoutImplementation(); + native Object withoutImplementationRefReturn(); native static void stackArgsIntsFirst(int i1, int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9, int i10, float f1, float f2, float f3, float f4, float f5, float f6, |