< prev index next >

src/share/vm/interpreter/linkResolver.cpp

Print this page

        

*** 610,620 **** } } if (code == Bytecodes::_invokeinterface) { return resolve_interface_method(link_info, true, THREAD); ! } else if (code == Bytecodes::_invokevirtual) { return resolve_method(link_info, /*require_methodref*/true, THREAD); } else if (!resolved_klass->is_interface()) { return resolve_method(link_info, /*require_methodref*/false, THREAD); } else { bool nostatics = (code == Bytecodes::_invokestatic) ? false : true; --- 610,620 ---- } } if (code == Bytecodes::_invokeinterface) { return resolve_interface_method(link_info, true, THREAD); ! } else if (code == Bytecodes::_invokevirtual || code == Bytecodes::_invokedirect) { return resolve_method(link_info, /*require_methodref*/true, THREAD); } else if (!resolved_klass->is_interface()) { return resolve_method(link_info, /*require_methodref*/false, THREAD); } else { bool nostatics = (code == Bytecodes::_invokestatic) ? false : true;
< prev index next >