diff --git a/src/main/org/apache/tools/ant/types/CommandlineJava.java b/src/main/org/apache/tools/ant/types/CommandlineJava.java index 0af0a5bfa..efaa6f437 100644 --- a/src/main/org/apache/tools/ant/types/CommandlineJava.java +++ b/src/main/org/apache/tools/ant/types/CommandlineJava.java @@ -640,7 +640,7 @@ public class CommandlineJava implements Cloneable { * @return true if the classpath is to be used. * @since Ant 1.6 */ - protected boolean haveClasspath() { + public boolean haveClasspath() { Path fullClasspath = classpath != null ? classpath.concatSystemClasspath("ignore") : null; return fullClasspath != null