src/share/vm/prims/methodHandles.cpp

changeset 2343
f2da85a9b08e
parent 2314
f95d63e2154a
child 2411
8d0b933dda2d
equal deleted inserted replaced
2314:f95d63e2154a 2343:f2da85a9b08e
483 name_str = NULL; // safety 483 name_str = NULL; // safety
484 484
485 Handle polymorphic_method_type; 485 Handle polymorphic_method_type;
486 bool polymorphic_signature = false; 486 bool polymorphic_signature = false;
487 if ((flags & ALL_KINDS) == IS_METHOD && 487 if ((flags & ALL_KINDS) == IS_METHOD &&
488 (defc() == SystemDictionary::InvokeDynamic_klass() || 488 (defc() == SystemDictionary::MethodHandle_klass() &&
489 (defc() == SystemDictionary::MethodHandle_klass() && 489 methodOopDesc::is_method_handle_invoke_name(name())))
490 methodOopDesc::is_method_handle_invoke_name(name()))))
491 polymorphic_signature = true; 490 polymorphic_signature = true;
492 491
493 // convert the external string or reflective type to an internal signature 492 // convert the external string or reflective type to an internal signature
494 symbolHandle type; { 493 symbolHandle type; {
495 symbolOop type_sym = NULL; 494 symbolOop type_sym = NULL;

mercurial