This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-03-25
Channels
- # announcements (8)
- # aws (50)
- # aws-lambda (6)
- # babashka (25)
- # beginners (119)
- # bristol-clojurians (5)
- # calva (25)
- # chlorine-clover (23)
- # cider (6)
- # cljs-dev (125)
- # clojure (63)
- # clojure-austin (1)
- # clojure-belgium (1)
- # clojure-dev (48)
- # clojure-europe (11)
- # clojure-italy (2)
- # clojure-nl (5)
- # clojure-spec (3)
- # clojure-uk (66)
- # clojurescript (14)
- # core-logic (5)
- # datomic (13)
- # emacs (10)
- # events (2)
- # fulcro (37)
- # graalvm (11)
- # hoplon (95)
- # jobs-discuss (9)
- # juxt (11)
- # kaocha (16)
- # meander (13)
- # off-topic (24)
- # pedestal (4)
- # re-frame (36)
- # reagent (10)
- # reitit (15)
- # ring-swagger (5)
- # shadow-cljs (23)
- # spacemacs (2)
- # sql (13)
- # tools-deps (32)
- # xtdb (11)
Just to follow up on the error I was seeing on Monday, it was due to running out of memory (but not throwing out of mem error). I have a different thing now where http://java.io.FilePermission seems to be unsupported but did get past the original.
@activeghost Interesting. Maybe more luck with the java.nio API?
@activeghost I do see an open issue regarding that class here: https://github.com/oracle/graal/issues/2177
Thx @borkdude ... the open issue is exactly what I'm seeing. I don't know where in FilePermission is getting pulled in (it's not clear in the trace). I'll see if I have different data to submit outside of just a +1.
@activeghost Are you using v19 or v20?
you can see how it gets to FilePermission using this: https://github.com/lread/clj-graal-docs#report-what-is-being-analyzed
Thx, will try that and see if I can eliminate the problem. I am doing file io so perhaps not, but will be info I can attach to the bug.
@activeghost If all else fails, you can apply this trick: https://github.com/borkdude/babashka/blob/graalvm20-jdk8/resources/CutOffCoreServicesDependencies.java
It will instruct GraalVM to substitute the class in question with nothing, so analysis stops there.
Very cool, thx.