IDEA-266461 JSP Tag Plugin completion broken in IDEA 2021.1

avoid UnsupportedOperationException caused by files in jar

GitOrigin-RevId: 21a5b8d5b2e98b6c4a7f17cdd9296ef9572eae40
This commit is contained in:
Dmitry Avdeev
2021-04-12 11:30:26 +00:00
committed by intellij-monorepo-bot
parent b15e34043d
commit f06fdf9cc6
@@ -135,7 +135,10 @@ public abstract class JspSpiUtil {
List<Path> result = new ArrayList<>();
processClassPathItems(virtualFile, module, file -> {
if (file != null && file.isValid()) {
result.add(file.toNioPath());
Path path = file.getFileSystem().getNioPath(file);
if (path != null) {
result.add(path);
}
}
}, includeModuleOutput);
return result;