You're viewing version 1.2.0 of with-loading-context. The latest stable version of Clojure Core is 1.3.0.
1.2.0 Arrow_down_16x16



  • (with-loading-context & body)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/core.clj:4585 top

(defmacro with-loading-context [& body]
  `((fn loading# [] 
        (. clojure.lang.Var (pushThreadBindings {clojure.lang.Compiler/LOADER  
                                                 (.getClassLoader (.getClass ^Object loading#))}))
          (. clojure.lang.Var (popThreadBindings)))))))
Vars in clojure.core/with-loading-context: defmacro apply concat fn hash-map list seq vector with-meta
Used in 1 other vars ns

Comments top

No comments for with-loading-context. Log in to add a comment.