mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Cleanup (unnecessary copying)
This commit is contained in:
@@ -434,7 +434,7 @@ public class JavaBuilder extends ModuleLevelBuilder {
|
||||
JavaModuleIndex index = getJavaModuleIndex(context);
|
||||
if (index.hasJavaModules(chunk.getModules())) {
|
||||
// in Java 9, named modules are not allowed to read classes from the classpath
|
||||
modulePath = ContainerUtil.newArrayList(classpath);
|
||||
modulePath = classpath;
|
||||
classpath = Collections.emptyList();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user