A workaround for CLJ-1472 as a library.
Credits should go to @taylorwood for coming up with the fix.
Mistakes are mine.
(require '[borkdude.graal.locking :as locking])
(locking/locking (Object.) 1) ;;=> 1
Copyright © 2019 Michiel Borkent
Distributed under the EPL License. See LICENSE.
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close