summaryrefslogtreecommitdiff
path: root/src/native/java_lang_System.cc
diff options
context:
space:
mode:
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());