You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2016/09/11 10:19:51 UTC
[6/7] ant git commit: Fixed forgotten -upgrademodulepath in the
DefaultCompilerAdapter.
Fixed forgotten -upgrademodulepath in the DefaultCompilerAdapter.
Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/bda488ea
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/bda488ea
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/bda488ea
Branch: refs/heads/master
Commit: bda488eafe2a5812f77acd6f0134cba5c8a32912
Parents: 5bbc7b6
Author: Tomas Zezula <to...@gmail.com>
Authored: Fri Sep 9 19:29:25 2016 +0200
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Sun Sep 11 12:17:25 2016 +0200
----------------------------------------------------------------------
.../tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ant/blob/bda488ea/src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java
----------------------------------------------------------------------
diff --git a/src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java b/src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java
index f13b3e5..827b402 100644
--- a/src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java
+++ b/src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java
@@ -411,7 +411,7 @@ public abstract class DefaultCompilerAdapter
}
final Path ump = getUpgrademodulepath();
if (ump.size() > 0) {
- cmd.createArgument().setValue("-upgrademodulepath");
+ cmd.createArgument().setValue("--upgrade-module-path");
cmd.createArgument().setPath(ump);
}
if (attributes.getNativeHeaderDir() != null) {