Fork me on GitHub
#graalvm
<
2022-07-29
>
Martynas Maciulevičius08:07:42

What does it mean if I get this message when I want to call (String.) with byte array?

Caused by: java.lang.IllegalArgumentException: No matching ctor found for class java.lang.String
Enough for today... I think this is too big of a task to make it all work.

borkdude08:07:21

@invertisment_clojuria This has to do with reflection. Enable *warn-on-reflection* and you will see the Clojure compiler complain

borkdude08:07:44

We have docs about this here: https://github.com/clj-easy/graal-docs

👀 1
Martynas Maciulevičius08:07:31

Turns out I try to make it work the hard way 😄

lread19:07:55

FWIW, rewrite-clj native-image tests now pass for Graal 22.2.0 jdk 17. JDK 17 tests failed for me for previous versions of Graal on Windows.

🎉 4