Browse Source

avoid classloader issues when not forking

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1237419 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 13 years ago
parent
commit
e3e9dc0112
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      src/tests/junit/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapterTest.java

+ 7
- 0
src/tests/junit/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapterTest.java View File

@@ -45,6 +45,13 @@ public class DefaultCompilerAdapterTest extends TestCase {
}

public boolean execute() { return false; }

/**
* public to avoid classloader issues.
*/
public Commandline setupModernJavacCommandlineSwitches(Commandline cmd) {
return super.setupModernJavacCommandlineSwitches(cmd);
}
}

public void testSourceIsIgnoredForJavac13() {


Loading…
Cancel
Save