Browse Source

Fixed forgotten -upgrademodulepath in the DefaultCompilerAdapter.

master
Tomas Zezula Stefan Bodewig 8 years ago
parent
commit
bda488eafe
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java

+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java View File

@@ -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) {


Loading…
Cancel
Save