OSDN Git Service
(root)
/
android-x86
/
dalvik.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd18d57
)
Fix the obvois wrong test in methodIsPublic function.
author
Vadim Lebedev
<vadim@mbdsys.com>
Sat, 21 Feb 2009 21:01:44 +0000
(22:01 +0100)
committer
Vadim Lebedev
<vadim@mbdsys.com>
Sat, 21 Feb 2009 21:01:44 +0000
(22:01 +0100)
dalvikvm/Main.c
patch
|
blob
|
history
diff --git
a/dalvikvm/Main.c
b/dalvikvm/Main.c
index
70cc61f
..
a6439fb
100644
(file)
--- a/
dalvikvm/Main.c
+++ b/
dalvikvm/Main.c
@@
-115,7
+115,7
@@
static int methodIsPublic(JNIEnv* env, jclass clazz, jmethodID methodId)
}
getModifiersId = (*env)->GetMethodID(env, methodClass,
"getModifiers", "()I");
- if (
methodClass
== NULL) {
+ if (
getModifiersId
== NULL) {
fprintf(stderr, "Dalvik VM unable to find reflect.Method.getModifiers\n");
goto bail;
}