Repository: maven-surefire Updated Branches: refs/heads/master cf90e5c15 -> 0635d25e9
[Agreed with Oracle] [SUREFIRE-1403] [Jigsaw] [Java 9] add "--add-modules ALL-SYSTEM" to forked CLI argument Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/0635d25e Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/0635d25e Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/0635d25e Branch: refs/heads/master Commit: 0635d25e9d273c48196c1c9cb40eefc38393daba Parents: cf90e5c Author: Tibor17 <[email protected]> Authored: Mon Aug 21 09:31:42 2017 +0200 Committer: Tibor17 <[email protected]> Committed: Mon Aug 21 09:31:42 2017 +0200 ---------------------------------------------------------------------- .../maven/plugin/surefire/booterclient/ForkConfiguration.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/0635d25e/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ForkConfiguration.java ---------------------------------------------------------------------- diff --git a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ForkConfiguration.java b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ForkConfiguration.java index b3b9251..c962424 100644 --- a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ForkConfiguration.java +++ b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ForkConfiguration.java @@ -168,11 +168,11 @@ public class ForkConfiguration { if ( jvmArgLine.isEmpty() ) { - jvmArgLine = "--add-modules ALL-SYSTEM"; + jvmArgLine = "--add-modules java.se.ee"; } else { - jvmArgLine = "--add-modules ALL-SYSTEM " + jvmArgLine; + jvmArgLine = "--add-modules java.se.ee " + jvmArgLine; } }
