# HG changeset patch # User jrose # Date 1306995931 25200 # Node ID c76d5f44a3fed2c0a765f03e90b5e354b2e7f4ec # Parent ba550512d3b2a88469269c5994b0500118f0ee49 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 diff -r ba550512d3b2 -r c76d5f44a3fe src/share/vm/runtime/globals.hpp --- 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") \ \