编译时如何告诉eclipse进行添加导出 [英] How to tell eclipse to add-exports when compiling
问题描述
是否可以告诉eclipse添加以下命令行选项: 我认为在运行测试时也可能需要它。 是否也可以删除此消息: 请注意,我试图将这些添加到我的一个单元测试的VM选项中,但是没有用。 Is it possible to tell eclipse to add the following command line option:
I think it may also be needed when running tests. Is it also possible to remove this message:
Note that I tried to add those to the VM options of one of my unit tests but that did not work. 这篇关于编译时如何告诉eclipse进行添加导出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
--add-exports jdk.compiler / com.sun.tools.javac.tree =
jdk.compiler
com.sun.tools.javac.tree
--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED
when compiling.
jdk.compiler
com.sun.tools.javac.tree