[armedbear-devel] How to declare a jconstructor/jmethod which has array arguments?
Alessio Stalla
alessiostalla at gmail.com
Tue Sep 14 06:54:27 UTC 2010
2010/9/14 Chun Tian (binghe) <binghe.lisp at gmail.com>:
> Hi, David
>
> Thanks very much! (but that's really weird ...)
AFAIK, that "[B" is what you'd have to pass to Class.forName in Java
to get the class representing byte[], so the weirdness/ugliness comes
from there ;)
Alternatively, you can obtain the same class as (jclass-of (jnew-array
"byte" 0)), and define that as a constant.
More information about the armedbear-devel
mailing list