--- a/hotspot/src/share/vm/classfile/javaClasses.inline.hpp Fri May 26 13:47:33 2017 -0700
+++ b/hotspot/src/share/vm/classfile/javaClasses.inline.hpp Sat May 27 09:21:01 2017 -0400
@@ -143,7 +143,11 @@
}
inline bool java_lang_invoke_MemberName::is_instance(oop obj) {
- return obj != NULL && is_subclass(obj->klass());
+ return obj != NULL && obj->klass() == SystemDictionary::MemberName_klass();
+}
+
+inline bool java_lang_invoke_ResolvedMethodName::is_instance(oop obj) {
+ return obj != NULL && obj->klass() == SystemDictionary::ResolvedMethodName_klass();
}
inline bool java_lang_invoke_MethodType::is_instance(oop obj) {