diff options
Diffstat (limited to 'runtime/dex_file.h')
| -rw-r--r-- | runtime/dex_file.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/dex_file.h b/runtime/dex_file.h index ce7f62acb5..638821bfb7 100644 --- a/runtime/dex_file.h +++ b/runtime/dex_file.h @@ -57,7 +57,11 @@ class ZipArchive; // TODO: move all of the macro functionality into the DexCache class. class DexFile { public: + // First Dex format version supporting default methods. static const uint32_t kDefaultMethodsVersion = 37; + // First Dex format version enforcing class definition ordering rules. + static const uint32_t kClassDefinitionOrderEnforcedVersion = 37; + static const uint8_t kDexMagic[]; static constexpr size_t kNumDexVersions = 2; static constexpr size_t kDexVersionLen = 4; |