Created
December 9, 2011 02:40
-
-
Save xeqi/1449897 to your computer and use it in GitHub Desktop.
swank classloader-heirarchy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user> (defn classloader-heirarchy | |
([] | |
(classloader-heirarchy (clojure.lang.RT/baseLoader))) | |
([tip] | |
(if tip | |
(conj (classloader-heirarchy (.getParent tip)) tip) []))) | |
#'user/classloader-heirarchy | |
user> (classloader-heirarchy) | |
[#<ExtClassLoader sun.misc.Launcher$ExtClassLoader@7ea2dfe> #<AppClassLoader sun.m\ | |
isc.Launcher$AppClassLoader@61ba34f2> #<DynamicClassLoader clojure.lang.DynamicCla\ | |
ssLoader@4a6ca1a6> #<DynamicClassLoader clojure.lang.DynamicClassLoader@1896d2c2>] | |
user> (classloader-heirarchy) | |
[#<ExtClassLoader sun.misc.Launcher$ExtClassLoader@7ea2dfe> #<AppClassLoader sun.m\ | |
isc.Launcher$AppClassLoader@61ba34f2> #<DynamicClassLoader clojure.lang.DynamicCla\ | |
ssLoader@28b56559> #<DynamicClassLoader clojure.lang.DynamicClassLoader@533c2ac3>] | |
user> (classloader-heirarchy) | |
[#<ExtClassLoader sun.misc.Launcher$ExtClassLoader@7ea2dfe> #<AppClassLoader sun.m\ | |
isc.Launcher$AppClassLoader@61ba34f2> #<DynamicClassLoader clojure.lang.DynamicCla\ | |
ssLoader@9ec265c> #<DynamicClassLoader clojure.lang.DynamicClassLoader@635adc6>] | |
user> (classloader-heirarchy) | |
[#<ExtClassLoader sun.misc.Launcher$ExtClassLoader@7ea2dfe> #<AppClassLoader sun.m\ | |
isc.Launcher$AppClassLoader@61ba34f2> #<DynamicClassLoader clojure.lang.DynamicCla\ | |
ssLoader@517c804b> #<DynamicClassLoader clojure.lang.DynamicClassLoader@4bea71d4>] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment