-
- Downloads
Correct static interop (#16804)
on java 16 there's a handy (newFilesystem path) but i don't think we want to require java 16 yet. On previous versions we can use (newFileSystem Path ClassLoader) which is what it was before. Really just need to typehint the nil, but nils don't carry metadata (sensibly) so would have to introduce a local binding ```clojure (let [^ClassLoader cl nil] (FileSystems/newFileSystem jar-path cl)) ``` feels a bit weird, so just send the proper classloader through.
Please register or sign in to comment