equal
deleted
inserted
replaced
220 return NULL; |
220 return NULL; |
221 } |
221 } |
222 |
222 |
223 oop MethodHandles::init_method_MemberName(Handle mname, CallInfo& info) { |
223 oop MethodHandles::init_method_MemberName(Handle mname, CallInfo& info) { |
224 assert(info.resolved_appendix().is_null(), "only normal methods here"); |
224 assert(info.resolved_appendix().is_null(), "only normal methods here"); |
225 methodHandle m = info.resolved_method(); |
225 methodHandle m(Thread::current(), info.resolved_method()); |
226 assert(m.not_null(), "null method handle"); |
226 assert(m.not_null(), "null method handle"); |
227 InstanceKlass* m_klass = m->method_holder(); |
227 InstanceKlass* m_klass = m->method_holder(); |
228 assert(m_klass != NULL, "null holder for method handle"); |
228 assert(m_klass != NULL, "null holder for method handle"); |
229 int flags = (jushort)( m->access_flags().as_short() & JVM_RECOGNIZED_METHOD_MODIFIERS ); |
229 int flags = (jushort)( m->access_flags().as_short() & JVM_RECOGNIZED_METHOD_MODIFIERS ); |
230 int vmindex = Method::invalid_vtable_index; |
230 int vmindex = Method::invalid_vtable_index; |