Discuss GraalVM related topics. Use clojure 1.10.2 or newer for all new projects. Contribute to and GraalVM slack:
lread 2020-09-01T19:16:40.011100Z

@borkdude, just curious, for your test.check random issue, is using native-image’s --initialize-at-run-time option for the generated class also a possibility?

borkdude 2020-09-01T20:10:03.011700Z

@lee Good call. I did try that, but it didn't work:

$ $GRAALVM_HOME/bin/native-image foo --no-fallback --no-server --report-unsupported-elements-at-runtime "--initialize-at-run-time=clojure.test.check.random" --initialize-at-build-time -cp $(clojure -Sdeps '{:deps {org.clojure/clojure {:mvn/version "1.10.2-alpha1"}} :paths ["classes"]}' -Spath)
Error: Classes that should be initialized at run time got initialized during image building:
 clojure.test.check.random.JavaUtilSplittableRandom the class was requested to be initialized at run time (from the command line). To see why clojure.test.check.random.JavaUtilSplittableRandom got initialized use -H:+TraceClassInitialization

borkdude 2020-09-01T20:13:07.012100Z

I added that to the issue here: