sent from my phone

---------- Forwarded message ----------
From: "Erik Huelsmann" <ehuels@gmail.com>
Date: Oct 27, 2012 11:24 AM
Subject: Re: [armedbear-cvs] r14218 - trunk/abcl/src/org/armedbear/lisp
To: <mevenson@common-lisp.net>
Cc: <Armedbear-devel@lists.sf.net>

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

On Oct 27, 2012 10:50 AM, <mevenson@common-lisp.net> wrote:
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