Is it possible to tell eclipse to add the following command line option:
--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED
when compiling.
You can add the --add-exports jdk.compiler/....
options on VM Arguments as shown below.
jdk.compiler
com.sun.tools.javac.tree