The options EnableMethodHandles and AnonymousClasses are deprecated
and will be removed in the future. EnableInvokeDynamic has changed
from an experimental flag to a diagnostic flag and is the remaining
option which turns on and off JSR 292 support (including method
handles and anonymous classes).
The default value for EnableInvokeDynamic is true for JDK 7 and later
and false otherwise. EnableInvokeDynamic, and thus JSR 292 support in
the VM, cannot be enabled when running with JDK 6 or earlier.