Discuss GraalVM related topics. Use clojure 1.10.2 or newer for all new projects. Contribute to and GraalVM slack:

Just tried compiling a project with graalvm native image, and am seeing errors like:

Error: No instances of <|>.ssl.SSLContext are allowed in the image heap as this class should be initialized at image runtime. To see how this object got instantiated use -H:+TraceClassInitialization.
Trace: 	object java.lang.Object[]
	object clojure.lang.PersistentArrayMap
	object clojure.lang.Var
	object java.lang.Object[]
	object clojure.lang.PersistentHashMap$BitmapIndexedNode
	object clojure.lang.PersistentHashMap$INode[]
	object clojure.lang.PersistentHashMap$ArrayNode
	object clojure.lang.PersistentHashMap$INode[]
	object clojure.lang.PersistentHashMap$ArrayNode
	object clojure.lang.PersistentHashMap
	object java.util.concurrent.atomic.AtomicReference
	object clojure.lang.Namespace
	object java.util.concurrent.ConcurrentHashMap$Node
	object java.util.concurrent.ConcurrentHashMap$Node[]
	object java.util.concurrent.ConcurrentHashMap
	method clojure.lang.Namespace.find(Symbol)
Call path from entry point to clojure.lang.Namespace.find(Symbol): 
	at clojure.lang.Namespace.find(
	at clojure.core$find_ns.invokeStatic(core.clj:4096)
	at clojure.core$find_ns.invoke(core.clj:4092)
	at$<|>.ByteArrayOutputStream$ff19274a.flush(Unknown Source)
	at <|>.PrintStream.newLine(
	at <|>.PrintStream.println(


I’m currently using: Wondering what I need to do to make progress…


hmm interesting 👀

borkdude 2020-01-20T15:00:56.012900Z

I've also found an issue here: (lmgtfy ;))


yeah also found that clojurl uses org.martinklepsch/clj-http-lite {:mvn/version "0.4.1"} guessing that works around this issue… need to do more digging


I might be able to switch over to that too

borkdude 2020-01-20T15:04:42.014600Z

I'm even using that as an interpreted version in babashka: