mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
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:
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;
|
||||
|
||||
Reference in New Issue
Block a user