Nice/stdlib/nice/lang java.nice,1.62,1.63

Daniel Bonniot <[email protected]> Fri, 27 May 2005 14:06:53 +0000
Newsgroups gmane.comp.lang.nice.cvs
Message-ID <[email protected]>
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);



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005