Open jeroenvandijk opened 5 years ago
See a more serious warning on Clojure 1.10 I just added at the top of the README ... Yours might be a Mac Issue. Just tried it with GraalVM RC15:
$ ~/opt/graalvm/bin/native-image --report-unsupported-elements-at-runtime -jar ./target/uberjar/instaparse-demo-0.1.0-SNAPSHOT-standalone.jar
Build on Server(pid: 8881, port: 42837)*
[instaparse-demo-0.1.0-SNAPSHOT-standalone:8881] classlist: 2,538.37 ms
[instaparse-demo-0.1.0-SNAPSHOT-standalone:8881] (cap): 1,287.93 ms
[instaparse-demo-0.1.0-SNAPSHOT-standalone:8881] setup: 2,945.34 ms
[instaparse-demo-0.1.0-SNAPSHOT-standalone:8881] (typeflow): 14,907.31 ms
[instaparse-demo-0.1.0-SNAPSHOT-standalone:8881] (objects): 10,805.63 ms
[instaparse-demo-0.1.0-SNAPSHOT-standalone:8881] (features): 473.09 ms
[instaparse-demo-0.1.0-SNAPSHOT-standalone:8881] analysis: 26,904.79 ms
[instaparse-demo-0.1.0-SNAPSHOT-standalone:8881] universe: 695.16 ms
[instaparse-demo-0.1.0-SNAPSHOT-standalone:8881] (parse): 2,146.40 ms
[instaparse-demo-0.1.0-SNAPSHOT-standalone:8881] (inline): 3,233.39 ms
[instaparse-demo-0.1.0-SNAPSHOT-standalone:8881] (compile): 17,061.65 ms
[instaparse-demo-0.1.0-SNAPSHOT-standalone:8881] compile: 23,797.18 ms
[instaparse-demo-0.1.0-SNAPSHOT-standalone:8881] image: 2,479.27 ms
[instaparse-demo-0.1.0-SNAPSHOT-standalone:8881] write: 341.70 ms
[instaparse-demo-0.1.0-SNAPSHOT-standalone:8881] [total]: 59,906.53 ms
$ ./instaparse-demo-0.1.0-SNAPSHOT-standalone aaabbbbb
Hello, World!
[:S [:AB [:A "a" "a" "a"] [:B "b" "b" "b" "b" "b"]]]
$ ~/opt/graalvm/bin/native-image --version
GraalVM Version 1.0.0-rc15 CE
Uberjar was compiled with Ubuntu OpenJDK, they seem to mock up the version:
$ java -version
openjdk version "10.0.2" 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4)
OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode)
After applying #1 and running
lein uberjar
I got a new error with GraalVM:At runtime