ooh there's some interesting workarounds in that thread; thanks for the share!
I've been playing around with adding the cognitect s3 client to to a native-image cli app and ended up getting blocked w/ a runtime Unsupported method java.lang.ClassLoader.defineClass1
. (this was a bit before I saw the graalvm issue on the cognitect repo)
@sergey923 The defineClass1 error is very generic and it doesn’t point to one cause in my experience (e.g. it could be eval
, but also something less dynamic). If you want to check where it breaks, probably good to start bottom up and keep adding stuff until you find the issue. Here is a start https://github.com/AdGoji/aws-api/tree/master/src/adgoji/cognitect/aws (forked some time ago though)