< prev index next >
src/hotspot/share/opto/doCall.cpp
Print this page
rev 55090 : secret-sfac
@@ -557,11 +557,11 @@
speculative_receiver_type = receiver_type != NULL ? receiver_type->speculative_type() : NULL;
}
// Additional receiver subtype checks for interface calls via invokespecial or invokeinterface.
ciKlass* receiver_constraint = NULL;
- if (iter().cur_bc_raw() == Bytecodes::_invokespecial && !orig_callee->is_object_initializer()) {
+ if (iter().cur_bc_raw() == Bytecodes::_invokespecial && !orig_callee->is_object_constructor()) {
ciInstanceKlass* calling_klass = method()->holder();
ciInstanceKlass* sender_klass =
calling_klass->is_unsafe_anonymous() ? calling_klass->unsafe_anonymous_host() :
calling_klass;
if (sender_klass->is_interface()) {
< prev index next >