mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 01:50:56 +07:00
IJPL-187780 IJ-CR-172557 Remove excessive synchronization in ClassPath constructor
(cherry picked from commit 6bcd30e81761d6334b6f8bd5390c97e5f9161cf1) GitOrigin-RevId: 69d8d451c32cbdbd79330ab42867177edc1de1ff
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f1c481dea7
commit
a0a85e00c9
@@ -92,9 +92,7 @@ public final class ClassPath {
|
||||
this.mimicJarUrlConnection = mimicJarUrlConnection;
|
||||
|
||||
this.files = files.toArray(new Path[]{});
|
||||
synchronized (this) {
|
||||
filesConvertedToDefaultFs = false;
|
||||
}
|
||||
filesConvertedToDefaultFs = false;
|
||||
if (resourceFileFactory == null) {
|
||||
this.resourceFileFactory = file -> new JdkZipResourceFile(file, configuration.lockJars);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user