7049410: JSR 292 old method name MethodHandle.invokeGeneric should not be accepted by the JVM
authorjrose
Wed, 01 Jun 2011 23:25:31 -0700
changeset 9968 d46e7bd87c27
parent 9967 9ddc1c490930
child 9970 897327bf8472
child 9973 50ad90263863
child 9975 82190b49ce14
7049410: JSR 292 old method name MethodHandle.invokeGeneric should not be accepted by the JVM Summary: change the default setting of the flag AllowInvokeGeneric to false Reviewed-by: never
hotspot/src/share/vm/runtime/globals.hpp
--- a/hotspot/src/share/vm/runtime/globals.hpp	Wed Jun 01 23:25:20 2011 -0700
+++ b/hotspot/src/share/vm/runtime/globals.hpp	Wed Jun 01 23:25:31 2011 -0700
@@ -3734,7 +3734,7 @@
   experimental(bool, TrustFinalNonStaticFields, false,                      \
           "trust final non-static declarations for constant folding")       \
                                                                             \
-  experimental(bool, AllowInvokeGeneric, true,                              \
+  experimental(bool, AllowInvokeGeneric, false,                             \
           "accept MethodHandle.invoke and MethodHandle.invokeGeneric "      \
           "as equivalent methods")                                          \
                                                                             \