hotspot/src/share/vm/prims/methodHandles.cpp
changeset 30615 4713e7c7b96f
parent 30310 522ea430079f
child 31019 d05fcdd70109
child 31037 01a5c5fa5681
equal deleted inserted replaced
30606:9dae6b41c617 30615:4713e7c7b96f
   184 }
   184 }
   185 
   185 
   186 oop MethodHandles::init_method_MemberName(Handle mname, CallInfo& info) {
   186 oop MethodHandles::init_method_MemberName(Handle mname, CallInfo& info) {
   187   assert(info.resolved_appendix().is_null(), "only normal methods here");
   187   assert(info.resolved_appendix().is_null(), "only normal methods here");
   188   methodHandle m = info.resolved_method();
   188   methodHandle m = info.resolved_method();
       
   189   assert(m.not_null(), "null method handle");
   189   KlassHandle m_klass = m->method_holder();
   190   KlassHandle m_klass = m->method_holder();
       
   191   assert(m.not_null(), "null holder for method handle");
   190   int flags = (jushort)( m->access_flags().as_short() & JVM_RECOGNIZED_METHOD_MODIFIERS );
   192   int flags = (jushort)( m->access_flags().as_short() & JVM_RECOGNIZED_METHOD_MODIFIERS );
   191   int vmindex = Method::invalid_vtable_index;
   193   int vmindex = Method::invalid_vtable_index;
   192 
   194 
   193   switch (info.call_kind()) {
   195   switch (info.call_kind()) {
   194   case CallInfo::itable_call:
   196   case CallInfo::itable_call: