diff src/share/vm/runtime/globals.hpp @ 3745:a93146d0e4be

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
author jrose
date Wed, 01 Jun 2011 23:25:31 -0700
parents a80577f854f9
children a9b8b43b115f 2a241e764894
line wrap: on
line diff
--- a/src/share/vm/runtime/globals.hpp	Wed Jun 01 23:25:20 2011 -0700
+++ b/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")                                          \
                                                                             \