File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/main/java/scala_maven Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -302,10 +302,9 @@ private ScalaInstance makeScalaInstance(Context sc) throws Exception {
302
302
allJars .addAll (Arrays .asList (libraryJars ));
303
303
File [] allJarFiles = allJars .toArray (new File [] {});
304
304
305
- URLClassLoader loaderLibraryOnly =
305
+ ClassLoader loaderLibraryOnly =
306
306
new ScalaCompilerLoader (libraryJarUrls , xsbti .Reporter .class .getClassLoader ());
307
- URLClassLoader loaderCompilerOnly = new URLClassLoader (compilerJarUrls , loaderLibraryOnly );
308
- URLClassLoader loader = loaderCompilerOnly ;
307
+ ClassLoader loaderCompilerOnly = new URLClassLoader (compilerJarUrls , loaderLibraryOnly );
309
308
310
309
if (getLog ().isDebugEnabled ()) {
311
310
getLog ().debug ("compilerJars: " + FileUtils .toMultiPath (compilerJars ));
@@ -314,7 +313,7 @@ private ScalaInstance makeScalaInstance(Context sc) throws Exception {
314
313
315
314
return new ScalaInstance (
316
315
sc .version ().toString (),
317
- loader ,
316
+ loaderCompilerOnly ,
318
317
loaderCompilerOnly ,
319
318
loaderLibraryOnly ,
320
319
libraryJars ,
You can’t perform that action at this time.
0 commit comments