[Nice-commit] Nice/stdlib/nice/lang java.nice,1.62,1.63
Brought to you by:
bonniot
From: Daniel B. <bo...@us...> - 2005-05-27 14:07:00
|
Update of /cvsroot/nice/Nice/stdlib/nice/lang In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29003/stdlib/nice/lang Modified Files: java.nice Log Message: newInstance always returns a non-null value. Index: java.nice =================================================================== RCS file: /cvsroot/nice/Nice/stdlib/nice/lang/java.nice,v retrieving revision 1.62 retrieving revision 1.63 diff -C2 -d -r1.62 -r1.63 *** java.nice 2 Apr 2005 09:09:25 -0000 1.62 --- java.nice 27 May 2005 14:06:51 -0000 1.63 *************** *** 45,49 **** Method[] getMethods(Class) = native Method[] Class.getMethods(); Class getType(Field) = native Class Field.getType(); ! <T> T newInstance(Class<T>) = native Object Class.newInstance(); <T, V> V get(Field, T) = native Object Field.get(Object); --- 45,49 ---- Method[] getMethods(Class) = native Method[] Class.getMethods(); Class getType(Field) = native Class Field.getType(); ! <T> !T newInstance(Class<T>) = native Object Class.newInstance(); <T, V> V get(Field, T) = native Object Field.get(Object); |