--- old/src/hotspot/share/opto/doCall.cpp 2019-04-24 13:36:31.000000000 -0700 +++ new/src/hotspot/share/opto/doCall.cpp 2019-04-24 13:36:31.000000000 -0700 @@ -559,7 +559,7 @@ // 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() :