Mercurial Hosting > luan
changeset 63:ebe578282363
minor fix
git-svn-id: https://luan-java.googlecode.com/svn/trunk@64 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Wed, 09 Jan 2013 22:54:50 +0000 |
parents | 7c05f53ef6cb |
children | 177cfdc2bdb3 |
files | src/luan/lib/JavaLib.java |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/luan/lib/JavaLib.java Tue Jan 08 04:29:24 2013 +0000 +++ b/src/luan/lib/JavaLib.java Wed Jan 09 22:54:50 2013 +0000 @@ -352,6 +352,8 @@ public Object invoke(Object proxy,Method method, Object[] args) throws Throwable { + if( args==null ) + args = new Object[0]; String name = method.getName(); Object fnObj = t.get(name); if( fnObj==null && base!=null )