into account. Probably needs to get used in all other tasks supporting bootclasspath as well. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277260 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -52,10 +52,11 @@ public class Gcj extends DefaultCompilerAdapter { | |||||
| // gcj doesn't support bootclasspath dir (-bootclasspath) | // gcj doesn't support bootclasspath dir (-bootclasspath) | ||||
| // so we'll emulate it for compatibility and convenience. | // so we'll emulate it for compatibility and convenience. | ||||
| if (bootclasspath != null) { | |||||
| classpath.append(bootclasspath); | |||||
| Path p = getBootClassPath(); | |||||
| if (p.size() > 0) { | |||||
| classpath.append(p); | |||||
| } | } | ||||
| // gcj doesn't support an extension dir (-extdir) | // gcj doesn't support an extension dir (-extdir) | ||||
| // so we'll emulate it for compatibility and convenience. | // so we'll emulate it for compatibility and convenience. | ||||
| classpath.addExtdirs(extdirs); | classpath.addExtdirs(extdirs); | ||||
| @@ -43,8 +43,9 @@ public class Jvc extends DefaultCompilerAdapter { | |||||
| // jvc doesn't support bootclasspath dir (-bootclasspath) | // jvc doesn't support bootclasspath dir (-bootclasspath) | ||||
| // so we'll emulate it for compatibility and convenience. | // so we'll emulate it for compatibility and convenience. | ||||
| if (bootclasspath != null) { | |||||
| classpath.append(bootclasspath); | |||||
| Path p = getBootClassPath(); | |||||
| if (p.size() > 0) { | |||||
| classpath.append(p); | |||||
| } | } | ||||
| if (includeJavaRuntime) { | if (includeJavaRuntime) { | ||||
| @@ -91,8 +91,9 @@ public class Kjc extends DefaultCompilerAdapter { | |||||
| Path cp = new Path(project); | Path cp = new Path(project); | ||||
| // kjc don't have bootclasspath option. | // kjc don't have bootclasspath option. | ||||
| if (bootclasspath != null) { | |||||
| cp.append(bootclasspath); | |||||
| Path p = getBootClassPath(); | |||||
| if (p.size() > 0) { | |||||
| cp.append(p); | |||||
| } | } | ||||
| if (extdirs != null) { | if (extdirs != null) { | ||||