From 084175722b6eead2c53934ce31c39ea8cb924229 Mon Sep 17 00:00:00 2001 From: Stepan Koltsov Date: Sat, 9 Jun 2012 00:48:58 +0400 Subject: [PATCH] fix classpath construction in repl --- .../src/org/jetbrains/jet/cli/jvm/repl/ReplInterpreter.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/cli/src/org/jetbrains/jet/cli/jvm/repl/ReplInterpreter.java b/compiler/cli/src/org/jetbrains/jet/cli/jvm/repl/ReplInterpreter.java index 55c25c5c4ce..c9147b536bf 100644 --- a/compiler/cli/src/org/jetbrains/jet/cli/jvm/repl/ReplInterpreter.java +++ b/compiler/cli/src/org/jetbrains/jet/cli/jvm/repl/ReplInterpreter.java @@ -105,10 +105,10 @@ public class ReplInterpreter { try { if (compilerDependencies.getRuntimeJar() != null) { classpath.add(compilerDependencies.getRuntimeJar().toURI().toURL()); + } - for (File extra : extraClasspath) { - classpath.add(extra.toURI().toURL()); - } + for (File extra : extraClasspath) { + classpath.add(extra.toURI().toURL()); } } catch (Exception e) { throw ExceptionUtils.rethrow(e);