Skip to content

Instantly share code, notes, and snippets.

@bradediger
Created January 17, 2013 00:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bradediger/4552523 to your computer and use it in GitHub Desktop.
Save bradediger/4552523 to your computer and use it in GitHub Desktop.
Teach Carbonite (Kryo) to load Clojure-accessible classes
(defn make-registry []
(doto (carbonite.api/default-registry)
(.setClassLoader (clojure.lang.DynamicClassLoader.))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment