6868487: EnableInvokeDynamic and EnableMethodHandles should not be visible flags in JDK6 or JDK7

Switch them from product to experimental; 6817525 will toggle them and switch to diagnostic

Reviewed-by: kvn
This commit is contained in:
John R Rose 2009-08-06 14:28:54 -07:00
parent ab7a29cdcc
commit 383f39ffa1

View file

@ -3309,7 +3309,7 @@ class CommandLineFlags {
product(bool, AnonymousClasses, false, \ product(bool, AnonymousClasses, false, \
"support sun.misc.Unsafe.defineAnonymousClass") \ "support sun.misc.Unsafe.defineAnonymousClass") \
\ \
product(bool, EnableMethodHandles, false, \ experimental(bool, EnableMethodHandles, false, \
"support method handles (true by default under JSR 292)") \ "support method handles (true by default under JSR 292)") \
\ \
diagnostic(intx, MethodHandlePushLimit, 3, \ diagnostic(intx, MethodHandlePushLimit, 3, \
@ -3324,7 +3324,7 @@ class CommandLineFlags {
diagnostic(bool, OptimizeMethodHandles, true, \ diagnostic(bool, OptimizeMethodHandles, true, \
"when constructing method handles, try to improve them") \ "when constructing method handles, try to improve them") \
\ \
product(bool, EnableInvokeDynamic, false, \ experimental(bool, EnableInvokeDynamic, false, \
"recognize the invokedynamic instruction") \ "recognize the invokedynamic instruction") \
\ \
develop(bool, TraceInvokeDynamic, false, \ develop(bool, TraceInvokeDynamic, false, \