Fork me on GitHub
#graalvm
<
2021-11-06
>
lread19:11:42

That’s a https://graalvm.slack.com/archives/CN9KSFB40/p1636018386109000 slack @borkdude, on usage of -H:ReportAnalysisForbiddenType to discover what is dragging in a class. Probably worth a write-up in our clj-easy/graal-docs.

lread19:11:25

I’m currently trying out the technique to try and discover what is dragging in awt stuff for my failing build on Windows.

borkdude19:11:17

you can try -H:ServiceLoaderFeatureExcludeServices=java.net.ContentHandlerFactory

ericdallo21:11:35

Do you know how much this reduced the binary size?

borkdude21:11:07

not so much actually

👍 1
borkdude19:11:23

this is what solved it for bb

lread19:11:58

Tried that, and it might help later, but I’m hitting a different issue first. I’m tracking it down and will report back when I understand more.

lread19:11:23

Since this will be fresh in my brains, I can do the eventual write up in our graal-docs, if you like.

borkdude19:11:28

Plz do! 🙏

👍 1