diff options
author | 2015-03-10 11:03:29 +0000 | |
---|---|---|
committer | 2015-03-10 14:51:11 +0000 | |
commit | 0aa50ce2fb75bfc2e815a0c33adf9b049561923b (patch) | |
tree | 9a3f9603ab30d5cbc7fc21aee0ceb48bbb0dd25a /runtime/native/java_lang_String.cc | |
parent | e8e42f3548fd894f860912bb1b71ce6fa2d7daf3 (diff) |
Remove ThrowLocation.
Note that this is a cleanup change, and has no functionality change.
The ThrowLocation had no use anymore.
Change-Id: I3d2126af1dc673cec3a0453ff3d56a172663a5f6
Diffstat (limited to 'runtime/native/java_lang_String.cc')
-rw-r--r-- | runtime/native/java_lang_String.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/native/java_lang_String.cc b/runtime/native/java_lang_String.cc index 4ea2546e30..6afe83bbb0 100644 --- a/runtime/native/java_lang_String.cc +++ b/runtime/native/java_lang_String.cc @@ -29,7 +29,7 @@ namespace art { static jint String_compareTo(JNIEnv* env, jobject javaThis, jobject javaRhs) { ScopedFastNativeObjectAccess soa(env); if (UNLIKELY(javaRhs == NULL)) { - ThrowNullPointerException(NULL, "rhs == null"); + ThrowNullPointerException("rhs == null"); return -1; } else { return soa.Decode<mirror::String*>(javaThis)->CompareTo(soa.Decode<mirror::String*>(javaRhs)); |