From: Nicola de C. <nde...@rs...> - 2004-02-03 09:10:22
|
Hi all, do you now if it is possible to generate the equivalent of this java declaration Class i = Integer[].class in jython ?? i.e. is it possible to generate instances of java.lang.Class ? the following from java.lang import Integer i = Integer[] does not work ..... Trying to get an object of that type and access its class definition does not work either from java.lang.reflect import Array a = Array.newInstance(Integer, 1) # NO !! a.getClass() any suggestion ??? Thanks in advance Nicola |