We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4fea96 commit 2d1097cCopy full SHA for 2d1097c
src/jvm/clojure/lang/Reflector.java
@@ -594,7 +594,7 @@ private static Object coerceAdapterReturn(Object ret, Class targetType) {
594
static Object boxArg(Class paramType, Object arg){
595
if(arg instanceof IFn && Compiler.FISupport.maybeFIMethod(paramType) != null)
596
// Adapt IFn obj to targetType using dynamic proxy
597
- return Proxy.newProxyInstance((ClassLoader) Compiler.LOADER.get(),
+ return Proxy.newProxyInstance(RT.baseLoader(),
598
new Class[]{paramType},
599
(proxy, method, methodArgs) -> {
600
Object ret = ((IFn) arg).applyTo(RT.seq(methodArgs));
0 commit comments