fix classpath construction in repl
This commit is contained in:
@@ -105,10 +105,10 @@ public class ReplInterpreter {
|
|||||||
try {
|
try {
|
||||||
if (compilerDependencies.getRuntimeJar() != null) {
|
if (compilerDependencies.getRuntimeJar() != null) {
|
||||||
classpath.add(compilerDependencies.getRuntimeJar().toURI().toURL());
|
classpath.add(compilerDependencies.getRuntimeJar().toURI().toURL());
|
||||||
|
}
|
||||||
|
|
||||||
for (File extra : extraClasspath) {
|
for (File extra : extraClasspath) {
|
||||||
classpath.add(extra.toURI().toURL());
|
classpath.add(extra.toURI().toURL());
|
||||||
}
|
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw ExceptionUtils.rethrow(e);
|
throw ExceptionUtils.rethrow(e);
|
||||||
|
|||||||
Reference in New Issue
Block a user