--- old/src/hotspot/share/prims/jni.cpp 2019-04-24 13:36:37.000000000 -0700 +++ new/src/hotspot/share/prims/jni.cpp 2019-04-24 13:36:36.000000000 -0700 @@ -520,7 +520,7 @@ methodHandle m (THREAD, Method::resolve_jmethod_id(method_id)); assert(m->is_static() == (isStatic != 0), "jni_ToReflectedMethod access flags doesn't match"); oop reflection_method; - if (m->is_initializer()) { + if (m->is_object_constructor()) { reflection_method = Reflection::new_constructor(m, CHECK_NULL); } else { reflection_method = Reflection::new_method(m, false, CHECK_NULL);