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
It often helps to comment on such issues with additional data
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.