sent from my phone
Hi mark,
If the intended type is right, this should not be required, right? Then my question is: why isn't the intended type correct?
Bye,
Erik.
sent from my phone
Author: mevenson
Date: Sat Oct 27 01:50:30 2012
New Revision: 14218
Log:
Always bypass method access checks for JSTATIC.
Enables a (to be released) patched CFFI to actually use callbacks.
Modified:
trunk/abcl/src/org/armedbear/lisp/Java.java
Modified: trunk/abcl/src/org/armedbear/lisp/Java.java
==============================================================================
--- trunk/abcl/src/org/armedbear/lisp/Java.java Fri Oct 26 23:40:54 2012 (r14217)
+++ trunk/abcl/src/org/armedbear/lisp/Java.java Sat Oct 27 01:50:30 2012 (r14218)
@@ -472,6 +472,7 @@
else
methodArgs[i-2] = arg.javaInstance(argTypes[i-2]);
}
+ m.setAccessible(true);
Object result = m.invoke(null, methodArgs);
return JavaObject.getInstance(result, translate, m.getReturnType());
}
_______________________________________________
armedbear-cvs mailing list
armedbear-cvs@common-lisp.net
http://lists.common-lisp.net/cgi-bin/mailman/listinfo/armedbear-cvs