mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
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:
parent
ab7a29cdcc
commit
383f39ffa1
1 changed files with 2 additions and 2 deletions
|
@ -3309,7 +3309,7 @@ class CommandLineFlags {
|
|||
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 @@ class CommandLineFlags {
|
|||
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, \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue