Discuss GraalVM related topics. Use clojure 1.10.2 or newer for all new projects. Contribute to and GraalVM slack:
Adrian Smith 2020-02-19T14:36:29.062600Z

has anyone hit an error of "no instances of are allow in the image heap as this class should be initialized at image runtime" before when trying to compile a native image?

Adrian Smith 2020-02-19T14:37:36.063500Z

I'm trying to compile this file: it seems adding the data-readers parameter to my edn/read-string call is causing this but not 100% positive

borkdude 2020-02-19T14:50:15.064100Z

doesn't ring a bell

Adrian Smith 2020-02-19T15:25:17.067Z

Should I still be including clojure 1.9 in my deps to work around the spec stuff?

Adrian Smith 2020-02-19T15:26:52.068500Z

the error is so weird I put a debugger into cursive and 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

borkdude 2020-02-19T15:27:43.068800Z

the error you mentioned doesn't seem like a spec-triggered error

borkdude 2020-02-19T15:27:52.069200Z

that usually goes like "monitor exit blabla"

Adrian Smith 2020-02-19T15:28:06.069600Z

yeah I saw that earlier adding clojure 1.9 to deps made it go away

borkdude 2020-02-19T15:28:35.069800Z

you can read more on this page:

borkdude 2020-02-19T15:28:56.070300Z

most notably the part about CLJ-1472

borkdude 2020-02-19T15:59:53.070700Z

it seems they found the performance regression on macos for v20: