-
Notifications
You must be signed in to change notification settings - Fork 411
Open
Description
I'm following the guide for using AOT. This works ... except for clj-http.
The error I'm getting is not when compiling but when loading the compiled classes (rather than clj files):
Execution error (ClassNotFoundException) at jdk.internal.loader.BuiltinClassLoader/loadClass (BuiltinClassLoader.java:641).
clj_http.headers.HeaderMap
When I rm -rf classes/clj_http, it works again.
Unfortunately I couldn't come up with a simple repro case - when I tried it outside of the main app, it worked. Not sure why - race condition?
I suspect (but cannot prove) that the AOT incompatibility is due to the use of potemkin.
There's an earlier report from 2016, but I'm not using Leiningen https://clojurians.slack.com/archives/C0AB48493/p1469153573000034
clj-http/clj-http 3.12.3
potemkin/potemkin 0.4.5
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels