summaryrefslogtreecommitdiffstats
path: root/src/java_lang_reflect_Proxy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/java_lang_reflect_Proxy.cc')
-rw-r--r--src/java_lang_reflect_Proxy.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java_lang_reflect_Proxy.cc b/src/java_lang_reflect_Proxy.cc
index 7bc3e44..bac20b0 100644
--- a/src/java_lang_reflect_Proxy.cc
+++ b/src/java_lang_reflect_Proxy.cc
@@ -24,7 +24,7 @@ namespace art {
static jclass Proxy_generateProxy(JNIEnv* env, jclass, jstring javaName, jobjectArray javaInterfaces, jobject javaLoader, jobjectArray javaMethods, jobjectArray javaThrows) {
// Allocates Class so transition thread state to runnable
- ScopedThreadStateChange tsc(Thread::Current(), Thread::kRunnable);
+ ScopedThreadStateChange tsc(Thread::Current(), kRunnable);
String* name = Decode<String*>(env, javaName);
ObjectArray<Class>* interfaces = Decode<ObjectArray<Class>*>(env, javaInterfaces);
ClassLoader* loader = Decode<ClassLoader*>(env, javaLoader);