equal
deleted
inserted
replaced
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, |