aboutsummaryrefslogtreecommitdiff
path: root/vm/native/java_lang_Class.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vm/native/java_lang_Class.cpp')
-rw-r--r--vm/native/java_lang_Class.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/native/java_lang_Class.cpp b/vm/native/java_lang_Class.cpp
index f05faefe7..790e7b79b 100644
--- a/vm/native/java_lang_Class.cpp
+++ b/vm/native/java_lang_Class.cpp
@@ -536,7 +536,7 @@ static void Dalvik_java_lang_Class_newInstance(const u4* args, JValue* pResult)
* constructor must be public or, if the caller is in the same package,
* have package scope.
*/
- ClassObject* callerClass = dvmGetCaller2Class(self->curFrame);
+ ClassObject* callerClass = dvmGetCaller2Class(self->interpSave.curFrame);
if (!dvmCheckClassAccess(callerClass, clazz)) {
LOGD("newInstance failed: %s not accessible to %s\n",