< prev index next >

src/share/vm/prims/methodHandles.cpp

Print this page
rev 8110 : 8030680: 292 cleanup from default method code assessment

*** 183,193 **** --- 183,195 ---- } oop MethodHandles::init_method_MemberName(Handle mname, CallInfo& info) { assert(info.resolved_appendix().is_null(), "only normal methods here"); methodHandle m = info.resolved_method(); + assert(m.not_null(), "null method handle"); KlassHandle m_klass = m->method_holder(); + assert(m.not_null(), "null holder for method handle"); int flags = (jushort)( m->access_flags().as_short() & JVM_RECOGNIZED_METHOD_MODIFIERS ); int vmindex = Method::invalid_vtable_index; switch (info.call_kind()) { case CallInfo::itable_call:
< prev index next >