Closed puredanger closed 1 month ago
If you call clean
in the repl, you can see it will fail at runtime. Found this while doing some regression testing on Clojure 1.12 stuff (where it gets found at compile time).
Thanks for calling this out!
On the run
method, that's on me. That was a braino where I was thinking it was binding to this
. I'd forgotten that's not how proxy
works.
It's relevant to older versions of Java (on Windows only. The Linux JVM did not need this), and really not so appropriate now. I think it can go away, but I'll need to confirm that I don't need some kind of contemporary equivalent.
PrivilegedAction.run() is a 0-arity and proxy methods don't take a
this
like protocol/reify functions do.