Files
openide/platform/eel
Vladimir Lagunov f1c481dea7 IJPL-187780 UrlClassLoader.getFiles now returns paths from MultiRoutingFileSystem
`UrlClassLoader.createDefaultBuilderForJdk` explicitly uses the default filesystem from JRE. If our nio FS was used there, recursive class loading through the chain `UrlClassLoader` -> `MultiRoutingFileSystem` -> `UrlClassLoader` would appear.

Nevertheless, `MultiRoutingFileSystem` is the default file system in the IDE now, and original `sun.nio.fs.UnixPath`/`WindowsPath` are not expected to be seen in the wild anymore. Being an API, `comUrlClassLoader.getFiles()` must return `MultiRoutingFsPath`. This method is not called at early steps of VM initialization, so it's safe to convert paths inside it.

(cherry picked from commit c971c5d125c976aad0fbde1cbd592cb4164380b2)

IJ-CR-172557

GitOrigin-RevId: cd0022813a2bd678007f468c8b721c847f4b5f74
2025-08-19 13:18:57 +00:00
..