From 5329f5329ec7ea7f6e2b0260626c8610dc4b2784 Mon Sep 17 00:00:00 2001 From: wisberg Date: Wed, 6 Oct 2004 08:37:46 +0000 Subject: [PATCH] removing unused reliance on fork --- .../testing/harness/bridge/CompilerRun.java | 21 +------------------ 1 file changed, 1 insertion(+), 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 -- 2.39.5