This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-02-28
Channels
- # announcements (30)
- # architecture (9)
- # aws (2)
- # babashka (23)
- # beginners (55)
- # cider (22)
- # clj-kondo (40)
- # clojure (47)
- # clojure-europe (4)
- # clojure-france (2)
- # clojure-italy (17)
- # clojure-nl (16)
- # clojure-norway (1)
- # clojure-sanfrancisco (1)
- # clojure-seattle (1)
- # clojure-spec (12)
- # clojure-uk (34)
- # clojured (3)
- # clojurescript (15)
- # core-async (11)
- # cursive (19)
- # data-science (3)
- # emacs (7)
- # events (4)
- # figwheel-main (10)
- # fulcro (33)
- # graalvm (49)
- # graphql (11)
- # instaparse (1)
- # java (7)
- # kaocha (1)
- # leiningen (7)
- # malli (3)
- # meander (69)
- # pathom (9)
- # re-frame (4)
- # rum (2)
- # shadow-cljs (34)
- # spacemacs (9)
- # sql (29)
- # tree-sitter (1)
- # yada (3)
Hi, nice channel 😉. I noticed that you pick up some tips - to avoid tearing your hair out - here is one that took me a while:
To let Graal config the reflector for e.g. Statement[]
you need to provide a rule for "[Ljava.sql.Statement". An example is in https://github.com/leafclick/pgmig/blob/master/graal.json
@katox interesting project! feel free to add it to the list at https://github.com/lread/clj-graal-docs. Also feel free to add any other hints and tips.
could someone provide a straightforward set of instructions to reproduce the CLJ-1472 problem on latest Clojure?
Hiya @alexmiller, we have described the issue on https://github.com/lread/clj-graal-docs/tree/master/CLJ-1472 but steps for reproduction are perhaps a bit buried in all the verbiage. I’ll go and distill and ping back when done.
what we really want is not a fancy script but just a real basic list of how to repro - here's a source file, run x, run y, fails
I'm sure I could do that, but I'm doing 9 other things so it would help :)
I’ve been away from my happy Clojure place for far too long. Will be nice to dip my toe back.
@alexmiller On it....
you can just attach it to CLJ-1472 if you get to it
I'm off for tonight, will attach to CLJ-1472 after ClojureD. Ohh sorry @lee! Maybe you can not look at my repro and see if you come to the same thing 🙂
mine was just a new page on clj-graal-docs. Less convenient to run than yours but deps based.
it should not use lein
deps definitely preferrred
so would like to see yours @lee
Here’s what I’ve pushed: https://github.com/lread/clj-graal-docs/blob/master/CLJ-1472/steps-to-reproduce.md @alexmiller, I understood you to be looking for raw description rather than scripts, let me know if this is what you had in mind. I’ll wait to review with @borkdude before attaching to CLJ-1472
@lee > Note: A thorough tester will repeat all tests for GraalVM 19.3.1 on JDK11. Let's leave JDK11 out of the equation, it has its own problem with the conditional MethodHandle in clojure.lang.Reflector (documented on the main README.md)
Personally I prefer to just download GraalVM from the downloads page and not install another extra tool like SDKMAN
Yes, but for a repro it seems unnecessary (same as lein, let's just stick to deps + raw download when possible)
thanks very much!
added to ticket