aboutsummaryrefslogtreecommitdiffstats
path: root/testing/src
diff options
context:
space:
mode:
authorwisberg <wisberg>2004-10-06 08:37:46 +0000
committerwisberg <wisberg>2004-10-06 08:37:46 +0000
commit5329f5329ec7ea7f6e2b0260626c8610dc4b2784 (patch)
treeb7caa3bab02bdddb9d904cf709a7bdf544d213a2 /testing/src
parenta0ec8d0fb07352f54dc7dde4a6db1521f45fb8a6 (diff)
downloadaspectj-5329f5329ec7ea7f6e2b0260626c8610dc4b2784.tar.gz
aspectj-5329f5329ec7ea7f6e2b0260626c8610dc4b2784.zip
removing unused reliance on fork
Diffstat (limited to 'testing/src')
-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