mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
`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