From e3e9dc01125856bd2f11b5fdac1210bbf66f63f7 Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Sun, 29 Jan 2012 19:13:56 +0000 Subject: [PATCH] avoid classloader issues when not forking git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1237419 13f79535-47bb-0310-9956-ffa450edef68 --- .../ant/taskdefs/compilers/DefaultCompilerAdapterTest.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/tests/junit/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapterTest.java b/src/tests/junit/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapterTest.java index 31260622d..946346ecf 100644 --- a/src/tests/junit/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapterTest.java +++ b/src/tests/junit/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapterTest.java @@ -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() {