Unrecognized VM option '+EnableMethodHandles'
My command line looks like:
java -XX:+EnableMethodHandles -XX:+EnableInvokeDynamic -classpath . FidgetDemo
which works for my old build. The current build does javac just fine
with -XDinvokedynamic
Here are the patches I have applied for hotspot and jdk:
$ cd hotspot; hg qapplied
6833129.patch
6873116.patch
meth-6862576.patch
nonperm-6863023.patch
meth-6815692.patch
indy-6858164.patch
meth.walker.patch
indy.compiler.patch
$ cd ../jdk; hg qapplied
indy.tests.patch
indy.pack.patch
indy.patch
$cd ../langtools; hg qapplied
meth.patch
-Frank
You need to use -XX:+UnlockExperimentalVMOptions
jrose changed the options to experimental ones with the last commit.
I'm back on track.
Thanks again Christian!
-Frank
Thanks,
-Frank