提交 23d7aaec authored 作者: Thomas Mueller's avatar Thomas Mueller

Build: compatibility with Java 7

上级 f9d26b6f
......@@ -117,8 +117,11 @@ public class Build extends BuildBase {
File.pathSeparator + "ext/slf4j-api-1.6.0.jar" +
File.pathSeparator + "ext/slf4j-nop-1.6.0.jar" +
File.pathSeparator + System.getProperty("java.home") + "/../lib/tools.jar";
exec("java", args("-Xmx128m", "-cp", cp, "emma", "run",
// -XX:-UseSplitVerifier is for Java 7 compatibility
exec("java", args(
"-Xmx128m",
"-XX:-UseSplitVerifier",
"-cp", cp, "emma", "run",
"-cp", "temp",
"-sp", "src/main",
"-r", "html,txt",
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论