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
--- a/hotspot/src/share/vm/runtime/globals.hpp Thu Aug 06 09:37:26 2009 -0700
+++ b/hotspot/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, \