Mercurial > hg > graal-jvmci-8
diff src/share/vm/prims/methodHandles.cpp @ 2001:f2da85a9b08e
7001363: java/dyn/InvokeDynamic should not be a well-known class in the JVM
Summary: Because of the removal of language support, the JDK 7 API for JSR 292 no longer includes a public class named java/dyn/InvokeDynamic.
Reviewed-by: jrose, kvn
author | twisti |
---|---|
date | Tue, 30 Nov 2010 09:53:04 -0800 |
parents | f95d63e2154a |
children | 8d0b933dda2d |
line wrap: on
line diff
--- a/src/share/vm/prims/methodHandles.cpp Tue Nov 23 13:22:55 2010 -0800 +++ b/src/share/vm/prims/methodHandles.cpp Tue Nov 30 09:53:04 2010 -0800 @@ -485,9 +485,8 @@ Handle polymorphic_method_type; bool polymorphic_signature = false; if ((flags & ALL_KINDS) == IS_METHOD && - (defc() == SystemDictionary::InvokeDynamic_klass() || - (defc() == SystemDictionary::MethodHandle_klass() && - methodOopDesc::is_method_handle_invoke_name(name())))) + (defc() == SystemDictionary::MethodHandle_klass() && + methodOopDesc::is_method_handle_invoke_name(name()))) polymorphic_signature = true; // convert the external string or reflective type to an internal signature