# HG changeset patch # User jrose # Date 1249594134 25200 # Node ID bd2b1f617a4e13b589f13b5ea2f6f8d30215320f # Parent 15bbd3f505c0e30c2d730b91fe7d1bae186dfedc 6868487: EnableInvokeDynamic and EnableMethodHandles should not be visible flags in JDK6 or JDK7 Summary: switch them from product to experimental; 6817525 will toggle them and switch to diagnostic Reviewed-by: kvn diff -r 15bbd3f505c0 -r bd2b1f617a4e src/share/vm/runtime/globals.hpp --- a/src/share/vm/runtime/globals.hpp Thu Aug 06 09:37:26 2009 -0700 +++ b/src/share/vm/runtime/globals.hpp Thu Aug 06 14:28:54 2009 -0700 @@ -3309,7 +3309,7 @@ product(bool, AnonymousClasses, false, \ "support sun.misc.Unsafe.defineAnonymousClass") \ \ - product(bool, EnableMethodHandles, false, \ + experimental(bool, EnableMethodHandles, false, \ "support method handles (true by default under JSR 292)") \ \ diagnostic(intx, MethodHandlePushLimit, 3, \ @@ -3324,7 +3324,7 @@ diagnostic(bool, OptimizeMethodHandles, true, \ "when constructing method handles, try to improve them") \ \ - product(bool, EnableInvokeDynamic, false, \ + experimental(bool, EnableInvokeDynamic, false, \ "recognize the invokedynamic instruction") \ \ develop(bool, TraceInvokeDynamic, false, \