Fork me on GitHub
#graalvm
<
2019-06-06
>
taylor01:06:55

hmm seems like running this tool on a Clojure program might produce a bunch of undesirable reflection config? For example if I run it on clj-kondo, the reflection config references a bunch of $eval123 classes (created during the profiling/runtime?) that don’t get compiled when you compile all the namespaces

taylor01:06:21

com.oracle.svm.core.util.UserError$UserException: Error parsing reflection configuration in file:/Users/Taylor/Projects/clj-kondo/resources/META-INF/native-image/reflect-config.json:
Class clj_kondo.impl.analyzer$eval155 not found

taylor01:06:00

native-image-agent produces a massive reflect-config.json — way more than what’s actually required to build clj-kondo native image