has anyone hit an error of "no instances of http://java.io.FilePermission are allow in the image heap as this class should be initialized at image runtime" before when trying to compile a native image?
I'm trying to compile this file: https://github.com/slifin/moonlight-engine/blob/master/src/core.clj it seems adding the data-readers parameter to my edn/read-string call is causing this but not 100% positive
doesn't ring a bell
Should I still be including clojure 1.9 in my deps to work around the spec stuff?
the error is so weird I put a debugger into cursive and http://java.io.FilePermission it's responsible pretty early on to allow deps stuff to load from class path, but graalvm has a error for that class that says it should be initialized at runtime
the error you mentioned doesn't seem like a spec-triggered error
that usually goes like "monitor exit blabla"
yeah I saw that earlier adding clojure 1.9 to deps made it go away
you can read more on this page: https://github.com/lread/clj-graal-docs
most notably the part about CLJ-1472
it seems they found the performance regression on macos for v20: https://github.com/oracle/graal/issues/2136#issuecomment-588287198