diff src/share/vm/prims/methodHandleWalk.hpp @ 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 3582bf76420e
line wrap: on
line diff
--- a/src/share/vm/prims/methodHandleWalk.hpp	Tue Nov 23 13:22:55 2010 -0800
+++ b/src/share/vm/prims/methodHandleWalk.hpp	Tue Nov 30 09:53:04 2010 -0800
@@ -412,8 +412,7 @@
 
   // Tests if the given class is a MH adapter holder.
   static bool klass_is_method_handle_adapter_holder(klassOop klass) {
-    return (klass == SystemDictionary::MethodHandle_klass() ||
-            klass == SystemDictionary::InvokeDynamic_klass());
+    return (klass == SystemDictionary::MethodHandle_klass());
   }
 };