ClassLoader (final String runClasspath, final String moduleName) { List<Path> files = new ArrayList<>(); final VirtualFileManager manager = VirtualFileManager.getInstance(); final JarFileSystemImpl fileSystem = (JarFileSystemImpl)JarFileSystem.getInstance(); final StringTokenizer tokenizer = new StringTokenizer(runClasspath, File.pathSeparator); while (tokenizer.hasMoreTokens()) { final String s = tokenizer.nextToken(); try (AccessToken ignore = SlowOperations.knownIssue("IDEA-307701")) { VirtualFile vFile = manager.findFileByUrl(VfsUtilCore.pathToUrl(s)); File realFile = fileSystem.getMirroredFile(vFile); files.add(realFile == null ? new File(s).toPath() : realFile.toPath()); } catch (Exception e) { // ignore ? } } files.add(PathManager.getJarForClass(Spacer.class)); return new DesignTimeClassLoader(files, LoaderFactory.class.getClassLoader(), moduleName); }