comparison 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
comparison
equal deleted inserted replaced
1972:f95d63e2154a 2001: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;