--- old/src/hotspot/share/prims/methodHandles.cpp 2018-06-20 00:52:17.431691391 -0400 +++ new/src/hotspot/share/prims/methodHandles.cpp 2018-06-20 00:52:15.919604329 -0400 @@ -238,7 +238,12 @@ vmindex); m->access_flags().print_on(tty); if (!m->is_abstract()) { - tty->print("default"); + if (!m->is_private()) { + tty->print("default"); + } + else { + tty->print("private-intf"); + } } tty->cr(); } @@ -292,6 +297,9 @@ } else if (m->is_initializer()) { flags |= IS_CONSTRUCTOR | (JVM_REF_invokeSpecial << REFERENCE_KIND_SHIFT); } else { + // "special" reflects that this is a direct call, not that it + // necessarily originates from an invokespecial. We can also do + // direct calls for private and/or final non-static methods. flags |= IS_METHOD | (JVM_REF_invokeSpecial << REFERENCE_KIND_SHIFT); } break;