MCPcopy Index your code
hub / github.com/clojure/clojure / loadWithClass

Method loadWithClass

src/jvm/clojure/lang/Util.java:247–257  ·  view source on GitHub ↗
(String scriptbase, Class<?> loadFrom)

Source from the content-addressed store, hash-verified

245}
246
247static public Object loadWithClass(String scriptbase, Class<?> loadFrom) throws IOException, ClassNotFoundException{
248 RT.init();
249 Var.pushThreadBindings(RT.map(new Object[] { Compiler.LOADER, loadFrom.getClassLoader() }));
250 try {
251 return RT.var("clojure.core", "load").invoke(scriptbase);
252 }
253 finally
254 {
255 Var.popThreadBindings();
256 }
257}
258
259static boolean isPosDigit(String s) {
260 if(s.length() != 1)

Callers

nothing calls this directly

Calls 6

initMethod · 0.95
pushThreadBindingsMethod · 0.95
mapMethod · 0.95
varMethod · 0.95
popThreadBindingsMethod · 0.95
invokeMethod · 0.65

Tested by

no test coverage detected