graalvm

Discuss GraalVM related topics. Use clojure 1.10.2 or newer for all new projects. Contribute to https://github.com/clj-easy/graal-docs and https://github.com/BrunoBonacci/graalvm-clojure. GraalVM slack: https://www.graalvm.org/slack-invitation/.
lvh 2020-06-19T20:45:09.447800Z

Oh, crud I missed this message, thank you though

lvh 2020-06-19T20:45:18.448300Z

which I regret to inform you actually works

lvh 2020-06-19T20:45:35.448500Z

(I regret to inform you there is no justice in the universe and the above worked just fine)

borkdude 2020-06-19T20:49:52.448700Z

so you patched Java's class and this works in the final GraalVM binary?

lvh 2020-06-19T21:05:12.448900Z

yep

lvh 2020-06-19T21:05:42.449100Z

you have to do it at the right time though, if you change the order of operations even the patching itself fails in pure java

lvh 2020-06-19T21:05:51.449300Z

so I'm not going to pretend this is a good, well-supported idea

lvh 2020-06-19T21:07:02.449500Z

i definitely don't understand why the people who wrote that class decided to make HTTP methods static final though

lvh 2020-06-19T21:07:14.449700Z

(there's even a WONTFIX ticket about it)

borkdude 2020-06-19T21:20:14.449900Z

what about vendoring the HttpURLConnection class and fix this one thing? is it a big class?

lvh 2020-06-19T21:41:45.450100Z

I imagine that would work fine yep