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:
c5d0614
)
Invert sense of a test.
author
Ian Rogers
<irogers@google.com>
Tue, 24 Sep 2013 23:47:26 +0000
(16:47 -0700)
committer
The Android Automerger
<android-build@google.com>
Wed, 25 Sep 2013 00:03:49 +0000
(17:03 -0700)
Bug
10907247
Change-Id: I0665cce648dd892db4cc59e82c325b376dad97dd
vm/native/java_lang_Class.cpp
patch
|
blob
|
history
diff --git
a/vm/native/java_lang_Class.cpp
b/vm/native/java_lang_Class.cpp
index
c307353
..
9b3b2f0
100644
(file)
--- a/
vm/native/java_lang_Class.cpp
+++ b/
vm/native/java_lang_Class.cpp
@@
-798,7
+798,7
@@
JNIEXPORT jobject JNICALL Java_java_lang_Class_getDex(JNIEnv* env, jclass javaCl
// Check another thread didn't cache an object, if we've won install the object.
ScopedPthreadMutexLock lock(&dvm_dex->modLock);
- if (dvm_dex->dex_object
!
= NULL) {
+ if (dvm_dex->dex_object
=
= NULL) {
dvm_dex->dex_object = env->NewGlobalRef(local_ref);
}
return dvm_dex->dex_object;