File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
drjava/src/edu/rice/cs/drjava Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ public static void configureAndLoadDrJavaRoot(String[] args) {
180180 }
181181 boolean restart = (getConfig ().getSetting (MASTER_JVM_ARGS ).length () > 0 )
182182 || (!"" .equals (masterMemory ) && !OptionConstants .heapSizeChoices .get (0 ).equals (masterMemory ))
183- || junitLocationConfigured ;
183+ || ( DrJava . getConfig (). getSetting ( OptionConstants . RT_CONCJUNIT_LOCATION_ENABLED ) && junitLocationConfigured ) ;
184184 _log .log ("restart: " +restart );
185185
186186 LinkedList <String > classArgs = new LinkedList <String >();
@@ -205,7 +205,8 @@ public static void configureAndLoadDrJavaRoot(String[] args) {
205205 // extend classpath if JUnit/ConcJUnit location specified
206206 _log .log ("JVMBuilder: classPath = " +jvmb .classPath ());
207207 ArrayList <File > extendedClassPath = new ArrayList <File >();
208- if (junitLocationConfigured ) {
208+ if (DrJava .getConfig ().getSetting (OptionConstants .RT_CONCJUNIT_LOCATION_ENABLED ) &&
209+ junitLocationConfigured ) {
209210 extendedClassPath .add (junitLocation );
210211 }
211212 for (File f : jvmb .classPath ()) { extendedClassPath .add (f ); }
You can’t perform that action at this time.
0 commit comments