> The code provided for java.lang.Class.getComponentType doesn't work for
> arrays of primitives.  Simply stripping off one bracket doesn't work,
> because for instance "[[I" becomes "[I" and then finally "I", which is not
> the name of int's type.  (In fact, I don't think it works for
> non-primitives either, because arrays of class instances still have the
> class name in "L%s;" format.)
> 
> Sorry I don't have a patch for you, but I implemented mine natively, so it
> wouldn't be much use anyway.

I believe that we discussed this earlier, and that a patch is in CVS?

John

_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath

Reply via email to