summaryrefslogtreecommitdiff
path: root/src/native/java_lang_System.cc
diff options
context:
space:
mode:
author Ian Rogers <irogers@google.com> 2012-09-05 08:57:23 -0700
committer Ian Rogers <irogers@google.com> 2012-09-05 09:06:19 -0700
commitb726dcb581bf72da46527378ccb6889020f0e6e9 (patch)
treec0383ed788652926e93147e50d659ed226519548 /src/native/java_lang_System.cc
parentfd678beb171a4686a4f2d53ca4188a4ade8fa54e (diff)
Rename GlobalSynchronization to Locks
Also address some review comments in common_throws relating to ToStr<InvokeType> and exception detail messages. Change-Id: Ibf2c0f147689fa236d349bd7f01eed3c2522552b
Diffstat (limited to 'src/native/java_lang_System.cc')
-rw-r--r--src/native/java_lang_System.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/native/java_lang_System.cc b/src/native/java_lang_System.cc
index f4fe6ca9cd..d74c9dbc7f 100644
--- a/src/native/java_lang_System.cc
+++ b/src/native/java_lang_System.cc
@@ -102,7 +102,7 @@ static void move32(void* dst, const void* src, size_t n) {
namespace art {
static void ThrowArrayStoreException_NotAnArray(const char* identifier, Object* array)
- SHARED_LOCKS_REQUIRED(GlobalSynchronization::mutator_lock_) {
+ SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) {
std::string actualType(PrettyTypeOf(array));
Thread::Current()->ThrowNewExceptionF("Ljava/lang/ArrayStoreException;",
"%s of type %s is not an array", identifier, actualType.c_str());