diff options
author | Elliott Hughes <enh@google.com> | 2011-06-14 13:51:55 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2011-06-14 14:05:06 -0700 |
commit | 65852761e37f938409b85a901a0fb1d98d361023 (patch) | |
tree | 8a6ffa2e6d3eb0531441656598e079218e490481 /vm/oo/Object.h | |
parent | 9884429bf15ea2fdeafb81b840663273321960f2 (diff) | |
download | android_dalvik-65852761e37f938409b85a901a0fb1d98d361023.tar.gz android_dalvik-65852761e37f938409b85a901a0fb1d98d361023.tar.bz2 android_dalvik-65852761e37f938409b85a901a0fb1d98d361023.zip |
Allow native methods to declare they don't need a JNIEnv*.
Bug: 3069458
Change-Id: Ic9a6c562c5abf9607dd4c8a71b0d1e389e6d340b
Diffstat (limited to 'vm/oo/Object.h')
-rw-r--r-- | vm/oo/Object.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vm/oo/Object.h b/vm/oo/Object.h index 5858e8613..d3c3f0a97 100644 --- a/vm/oo/Object.h +++ b/vm/oo/Object.h @@ -533,6 +533,9 @@ struct Method { */ DalvikBridgeFunc nativeFunc; + /* Whether this native method needs a JNIEnv*. */ + bool needsJniEnv; + /* * Register map data, if available. This will point into the DEX file * if the data was computed during pre-verification, or into the |