--- old/src/share/vm/interpreter/interpreterRuntime.cpp 2016-11-04 15:55:17.437286589 +0100 +++ new/src/share/vm/interpreter/interpreterRuntime.cpp 2016-11-04 15:55:17.309286595 +0100 @@ -964,6 +964,9 @@ } } // end JvmtiHideSingleStepping + assert(!(bytecode == Bytecodes::_invokedirect && info.call_kind() != CallInfo::direct_call), + "the target of a invokedirect bytecode must be a direct call"); + // check if link resolution caused cpCache to be updated ConstantPoolCacheEntry* cp_cache_entry = cache_entry(thread); if (cp_cache_entry->is_resolved(bytecode)) return;