diff src/luan/lib/JavaLib.java @ 119:f1bf2890d80f

support String methods git-svn-id: https://luan-java.googlecode.com/svn/trunk@120 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Sun, 01 Jun 2014 09:38:40 +0000
parents f5af13062b10
children f537ff5e511d
line wrap: on
line diff
--- a/src/luan/lib/JavaLib.java	Sun Jun 01 07:07:31 2014 +0000
+++ b/src/luan/lib/JavaLib.java	Sun Jun 01 09:38:40 2014 +0000
@@ -136,7 +136,8 @@
 				}
 			}
 		}
-		throw luan.JAVA.exception("invalid member '"+key+"' for java object: "+obj);
+//		throw luan.JAVA.exception("invalid member '"+key+"' for java object: "+obj);
+		return null;
 	}
 
 	private static Object member(Object obj,List<Member> members) throws LuanException {