On Tue, Apr 24, 2001 at 07:59:21PM -0600, Tom Tromey wrote:
> >>>>> "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.
I quickly looked at the tests, and they don't seem to check for this. I will try to
write some tests and submit them.
John Leuner
--
_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath