Skip to content

v0.2.0 + fix NoClassDefFoundError, custom ignore

Latest

Choose a tag to compare

Add error handler for NoClassDefFoundError (see luontola#1) and argument to add custom packages to ignore with ignore-file.

So for example if you have a file called agent-ignore.txt with contents:

io.netty

And you add to your normal invocation:

$GRAALVM_HOME/bin/java -javaagent:clojure-native-image-agent.jar=...,ignore-file=agent-ignore.txt ...

You will see this in your output:

clojure-native-image-agent: Loading custom ignore packages from agent-ignore.txt
clojure-native-image-agent: Loaded 1 custom ignore packages from agent-ignore.txt
clojure-native-image-agent: Custom ignore io.netty

and the packages will be excluded from your config.