diff options
author | 2017-09-22 16:17:41 +0100 | |
---|---|---|
committer | 2017-10-02 16:08:18 +0100 | |
commit | 2e59994c3c586d8b753e4b14a94c81bce3dba1a9 (patch) | |
tree | ab749ce709732821c7c00c81eb76afef032fd888 /runtime/dex_file.cc | |
parent | 865a0503515f78611dce103bd04b7c66c051d304 (diff) |
ART: support for const-method-{handle,type}
Adds support for const-method-handle and const-method-type bytecodes.
Bug: 66562269
Test: art/test/run-test --host 979
Test: art/test/dexdump/run-all-tests
Change-Id: I812eaf0f2439d6126b4287483fe2348366cacf90
Diffstat (limited to 'runtime/dex_file.cc')
-rw-r--r-- | runtime/dex_file.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/dex_file.cc b/runtime/dex_file.cc index be157a3f4c..2e776b0e61 100644 --- a/runtime/dex_file.cc +++ b/runtime/dex_file.cc @@ -66,8 +66,10 @@ const uint8_t DexFile::kDexMagicVersions[DexFile::kNumDexVersions][DexFile::kDex // Dex version 036 skipped because of an old dalvik bug on some versions of android where dex // files with that version number would erroneously be accepted and run. {'0', '3', '7', '\0'}, - // Dex version 038: Android "O" and beyond. - {'0', '3', '8', '\0'} + // Dex version 038: Android "O". + {'0', '3', '8', '\0'}, + // Dex verion 039: Beyond Android "O". + {'0', '3', '9', '\0'}, }; uint32_t DexFile::CalculateChecksum() const { |