>>>>> "John" == John Leuner <[EMAIL PROTECTED]> writes:

John> The method in vm/reference/java/lang/Class.java:
John>    public Class getComponentType() {
John>   if(isArray()) {
John>       try {
John>           return Class.forName(getName().substring(1));
John>       } catch(ClassNotFoundException e) {
John>           return null;
John>       }
John>   } else {
John>       return null;
John>   }
John>     }
John> is wrong.

I don't have any comment on this code per se; libgcj has its own
java.lang.Class implementation.

However I do think it would be cool to have Mauve tests for this sort
of thing.  There might be some in there already, but I don't know how
complete they might be.

Tom

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

Reply via email to