summaryrefslogtreecommitdiff
path: root/runtime/dex_file.h
diff options
context:
space:
mode:
author Alex Light <allight@google.com> 2016-04-12 15:50:55 -0700
committer Alex Light <allight@google.com> 2016-04-13 21:12:42 +0000
commitb55f1ac873f9541f391625c13fe9129fbd38e74c (patch)
tree996e696a06437f93c6f87e773e76d9e3c6a4fe8a /runtime/dex_file.h
parent336dd6a0989dafb356be5f689028d983b0931335 (diff)
Allow private methods in interfaces.
Private methods may be generated in interfaces during compilation of some default methods. Change the verifier to allow these methods. Bug: 27999840 Change-Id: Ib8120a8f6cb036021334d9af0ed78ae372974ecb
Diffstat (limited to 'runtime/dex_file.h')
-rw-r--r--runtime/dex_file.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/dex_file.h b/runtime/dex_file.h
index 3a28422067..ce7f62acb5 100644
--- a/runtime/dex_file.h
+++ b/runtime/dex_file.h
@@ -57,6 +57,7 @@ class ZipArchive;
// TODO: move all of the macro functionality into the DexCache class.
class DexFile {
public:
+ static const uint32_t kDefaultMethodsVersion = 37;
static const uint8_t kDexMagic[];
static constexpr size_t kNumDexVersions = 2;
static constexpr size_t kDexVersionLen = 4;