src/share/vm/prims/methodHandles.cpp

changeset 2343
f2da85a9b08e
parent 2314
f95d63e2154a
child 2411
8d0b933dda2d
     1.1 --- a/src/share/vm/prims/methodHandles.cpp	Tue Nov 23 13:22:55 2010 -0800
     1.2 +++ b/src/share/vm/prims/methodHandles.cpp	Tue Nov 30 09:53:04 2010 -0800
     1.3 @@ -485,9 +485,8 @@
     1.4    Handle polymorphic_method_type;
     1.5    bool polymorphic_signature = false;
     1.6    if ((flags & ALL_KINDS) == IS_METHOD &&
     1.7 -      (defc() == SystemDictionary::InvokeDynamic_klass() ||
     1.8 -       (defc() == SystemDictionary::MethodHandle_klass() &&
     1.9 -        methodOopDesc::is_method_handle_invoke_name(name()))))
    1.10 +      (defc() == SystemDictionary::MethodHandle_klass() &&
    1.11 +       methodOopDesc::is_method_handle_invoke_name(name())))
    1.12      polymorphic_signature = true;
    1.13  
    1.14    // convert the external string or reflective type to an internal signature

mercurial