On Thu, Feb 4, 2010 at 3:49 PM, Ville Voutilainen ville.voutilainen@gmail.com wrote:
On 4 February 2010 16:39, Axel Rauschmayer axel@rauschma.de wrote:
Quick comment: The latest incarnation of the Java FFI API allows one to use strings whenever a class object or a method object is required: (jnew "my.package.MyClass" arg) for new my.package.MyClass(arg) (jcall "methodName" obj arg) for obj.methodName(arg)
Does it allow both the "old" way and the stringified way?
Yes, it does. The stringified way is obviously slower, because it looks up the method at runtime.
If so, is there a patch somewhere that we can integrate?
It's already on trunk ;)
Ale