diff -r f95ef5511e1f -r 2ed1c37df3a5 src/hotspot/share/oops/klass.cpp --- a/src/hotspot/share/oops/klass.cpp Fri Mar 09 12:03:20 2018 -0500 +++ b/src/hotspot/share/oops/klass.cpp Thu Feb 08 09:23:49 2018 +0100 @@ -636,12 +636,17 @@ return name()->as_klass_external_name(); } - const char* Klass::signature_name() const { if (name() == NULL) return ""; return name()->as_C_string(); } +const char* Klass::external_kind() const { + if (is_interface()) return "interface"; + if (is_abstract()) return "abstract class"; + return "class"; +} + // Unless overridden, modifier_flags is 0. jint Klass::compute_modifier_flags(TRAPS) const { return 0;