ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject [6/7] ant git commit: Fixed forgotten -upgrademodulepath in the DefaultCompilerAdapter.
Date Sun, 11 Sep 2016 10:19:51 GMT
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 <tomas.zezula@gmail.com>
Authored: Fri Sep 9 19:29:25 2016 +0200
Committer: Stefan Bodewig <bodewig@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) {


Mime
View raw message