8221437: assert(java_lang_invoke_ResolvedMethodName::vmtarget(resolved_method()) == m()) failed: Should not change after link resolution
Reviewed-by: coleenp, sspitsyn
--- a/src/hotspot/share/prims/methodHandles.cpp Thu Mar 14 09:53:15 2019 -0400
+++ b/src/hotspot/share/prims/methodHandles.cpp Tue Apr 02 17:11:04 2019 -0700
@@ -316,7 +316,7 @@
}
Handle resolved_method = info.resolved_method_name();
- assert(java_lang_invoke_ResolvedMethodName::vmtarget(resolved_method()) == m(),
+ assert(java_lang_invoke_ResolvedMethodName::vmtarget(resolved_method()) == m() || m->is_old(),
"Should not change after link resolution");
oop mname_oop = mname();