diff options
author | Andreas Gampe <agampe@google.com> | 2014-11-05 02:55:39 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-11-05 02:55:39 +0000 |
commit | ae1a434fa1740791ba479da668e8372ca3dcb2a6 (patch) | |
tree | 812f2e41acaa81590418b70c142a644e1a3f87eb /runtime/jni_internal.cc | |
parent | b396ff047c3480c99b03a3e4342556fed4a24e2f (diff) | |
parent | 78a3233313260665fe82ba56257855e043bca3d4 (diff) | |
download | art-ae1a434fa1740791ba479da668e8372ca3dcb2a6.tar.gz art-ae1a434fa1740791ba479da668e8372ca3dcb2a6.tar.bz2 art-ae1a434fa1740791ba479da668e8372ca3dcb2a6.zip |
am 78a32333: Merge "ART: More warnings"
* commit '78a3233313260665fe82ba56257855e043bca3d4':
ART: More warnings
Diffstat (limited to 'runtime/jni_internal.cc')
-rw-r--r-- | runtime/jni_internal.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/jni_internal.cc b/runtime/jni_internal.cc index 51f88c5731..3b0656e4c6 100644 --- a/runtime/jni_internal.cc +++ b/runtime/jni_internal.cc @@ -197,8 +197,8 @@ static jfieldID FindFieldID(const ScopedObjectAccess& soa, jclass jni_class, con // Failed to find type from the signature of the field. DCHECK(soa.Self()->IsExceptionPending()); ThrowLocation throw_location; - StackHandleScope<1> hs(soa.Self()); - Handle<mirror::Throwable> cause(hs.NewHandle(soa.Self()->GetException(&throw_location))); + StackHandleScope<1> hs2(soa.Self()); + Handle<mirror::Throwable> cause(hs2.NewHandle(soa.Self()->GetException(&throw_location))); soa.Self()->ClearException(); std::string temp; soa.Self()->ThrowNewExceptionF(throw_location, "Ljava/lang/NoSuchFieldError;", |