graalvm

Discuss GraalVM related topics. Use clojure 1.10.2 or newer for all new projects. Contribute to https://github.com/clj-easy/graal-docs and https://github.com/BrunoBonacci/graalvm-clojure. GraalVM slack: https://www.graalvm.org/slack-invitation/.
sergey 2020-08-05T00:06:28.126800Z

ooh there's some interesting workarounds in that thread; thanks for the share!

sergey 2020-08-05T00:09:40.127Z

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)

2020-08-05T06:56:58.127500Z

@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)