src/hotspot/share/interpreter/interpreterRuntime.cpp
changeset 48555 9c56c953d8db
parent 47804 fa06ab2a0570
child 48557 2e867226b914
equal deleted inserted replaced
48554:592e22777742 48555:9c56c953d8db
   802 #endif
   802 #endif
   803   // Get sender or sender's host_klass, and only set cpCache entry to resolved if
   803   // Get sender or sender's host_klass, and only set cpCache entry to resolved if
   804   // it is not an interface.  The receiver for invokespecial calls within interface
   804   // it is not an interface.  The receiver for invokespecial calls within interface
   805   // methods must be checked for every call.
   805   // methods must be checked for every call.
   806   InstanceKlass* sender = pool->pool_holder();
   806   InstanceKlass* sender = pool->pool_holder();
   807   sender = sender->is_anonymous() ? sender->host_klass() : sender;
   807   sender = sender->has_host_klass() ? sender->host_klass() : sender;
   808 
   808 
   809   switch (info.call_kind()) {
   809   switch (info.call_kind()) {
   810   case CallInfo::direct_call:
   810   case CallInfo::direct_call:
   811     cp_cache_entry->set_direct_call(
   811     cp_cache_entry->set_direct_call(
   812       bytecode,
   812       bytecode,