<p></p>
<p>sent from my phone</p>
<div class="gmail_quote">---------- Forwarded message ----------<br>From: "Erik Huelsmann" <<a href="mailto:ehuels@gmail.com">ehuels@gmail.com</a>><br>Date: Oct 27, 2012 11:24 AM<br>Subject: Re: [armedbear-cvs] r14218 - trunk/abcl/src/org/armedbear/lisp<br>
To: <<a href="mailto:mevenson@common-lisp.net">mevenson@common-lisp.net</a>><br>Cc: <<a href="mailto:Armedbear-devel@lists.sf.net">Armedbear-devel@lists.sf.net</a>><br><br type="attribution"><p>Hi mark,</p>
<p>If the intended type is right, this should not be required, right? Then my question is: why isn't the intended type correct?</p>
<p>Bye,</p>
<p>Erik.</p>
<p>sent from my phone</p><div class="elided-text">
<div class="gmail_quote">On Oct 27, 2012 10:50 AM, <<a href="mailto:mevenson@common-lisp.net" target="_blank">mevenson@common-lisp.net</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Author: mevenson<br>
Date: Sat Oct 27 01:50:30 2012<br>
New Revision: 14218<br>
<br>
Log:<br>
Always bypass method access checks for JSTATIC.<br>
<br>
Enables a (to be released) patched CFFI to actually use callbacks.<br>
<br>
Modified:<br>
trunk/abcl/src/org/armedbear/lisp/Java.java<br>
<br>
Modified: trunk/abcl/src/org/armedbear/lisp/Java.java<br>
==============================================================================<br>
--- trunk/abcl/src/org/armedbear/lisp/Java.java Fri Oct 26 23:40:54 2012 (r14217)<br>
+++ trunk/abcl/src/org/armedbear/lisp/Java.java Sat Oct 27 01:50:30 2012 (r14218)<br>
@@ -472,6 +472,7 @@<br>
else<br>
methodArgs[i-2] = arg.javaInstance(argTypes[i-2]);<br>
}<br>
+ m.setAccessible(true);<br>
Object result = m.invoke(null, methodArgs);<br>
return JavaObject.getInstance(result, translate, m.getReturnType());<br>
}<br>
<br>
_______________________________________________<br>
armedbear-cvs mailing list<br>
<a href="mailto:armedbear-cvs@common-lisp.net" target="_blank">armedbear-cvs@common-lisp.net</a><br>
<a href="http://lists.common-lisp.net/cgi-bin/mailman/listinfo/armedbear-cvs" target="_blank">http://lists.common-lisp.net/cgi-bin/mailman/listinfo/armedbear-cvs</a><br>
</blockquote></div>
</div></div>