Browse Source

Removed too much with my last patch

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276967 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 20 years ago
parent
commit
a39b8f902e
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/main/org/apache/tools/ant/taskdefs/Javac.java

+ 3
- 1
src/main/org/apache/tools/ant/taskdefs/Javac.java View File

@@ -849,7 +849,9 @@ public class Javac extends MatchingTask {
public String getCompiler() {
String compilerImpl = getCompilerVersion();
if (fork) {
if (!isJdkCompiler(compilerImpl)) {
if (isJdkCompiler(compilerImpl)) {
compilerImpl = "extJavac";
} else {
log("Since compiler setting isn't classic or modern,"
+ "ignoring fork setting.", Project.MSG_WARN);
}


Loading…
Cancel
Save