diff options
Diffstat (limited to 'runtime/class_linker-inl.h')
-rw-r--r-- | runtime/class_linker-inl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/class_linker-inl.h b/runtime/class_linker-inl.h index 4b317f886f..cd6e8d59e8 100644 --- a/runtime/class_linker-inl.h +++ b/runtime/class_linker-inl.h @@ -174,7 +174,7 @@ inline bool ClassLinker::CheckInvokeClassMismatch(ObjPtr<mirror::DexCache> dex_c break; } case kDirect: - if (dex_cache->GetDexFile()->GetVersion() >= DexFile::kDefaultMethodsVersion) { + if (dex_cache->GetDexFile()->SupportsDefaultMethods()) { break; } FALLTHROUGH_INTENDED; |