summaryrefslogtreecommitdiffstats
path: root/testing/src/org
diff options
context:
space:
mode:
Diffstat (limited to 'testing/src/org')
-rw-r--r--testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java21
1 files changed, 1 insertions, 20 deletions
diff --git a/testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java b/testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
index e50dd8174..ba25fb4da 100644
--- a/testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
+++ b/testing/src/org/aspectj/testing/harness/bridge/CompilerRun.java
@@ -389,12 +389,7 @@ public class CompilerRun implements IAjcRun {
sandbox.setAspectpath(aspectFiles, checkReadable, this);
}
- // set bootclasspath if set for forking
- AbstractRunSpec.Fork fork = spec.getFork();
- String bootclasspath = fork.getJavaBootclasspath();
- if (fork.fork() && (!LangUtil.isEmpty(bootclasspath))) {
- sandbox.setBootclasspath(bootclasspath, this);
- }
+ // XXX todo set bootclasspath if set for forking?
return true;
}
@@ -701,20 +696,6 @@ public class CompilerRun implements IAjcRun {
return result;
}
- /** @return true if javac is available on the classpath */
-// private static boolean haveJavac() { // XXX copy/paste from JavaCWrapper.java
-// Class compilerClass = null;
-// try {
-// compilerClass = Class.forName("com.sun.tools.javac.Main");
-// } catch (ClassNotFoundException ce1) {
-// try {
-// compilerClass = Class.forName("sun.tools.javac.Main");
-// } catch (ClassNotFoundException ce2) {
-// }
-// }
-// return (null != compilerClass);
-// }
-
protected String compiler;
// use same command - see also IncCompiler.Spec.fresh