This is the mail archive of the
mauve-discuss@sources.redhat.com
mailing list for the Mauve project.
Class.getInterfaces() on [[I
- To: mauve-discuss at sourceware dot cygnus dot com
- Subject: Class.getInterfaces() on [[I
- From: sharon wu <lotus_june at yahoo dot com>
- Date: Wed, 12 Jul 2000 18:32:51 -0700 (PDT)
One of Mauve Test cases.
\java\lang\Class\ClassTest.java:
public void test_getInterfaces()
{
Class clsss = Class.forName("[[I");
harness.check ( clsss.getInterfaces().length, 1 );
Class clsss = Class.forName("[D");
harness.check ( clsss.getInterfaces().length, 1 );
}
These codes want to check getInterfaces() for [[I and
[D, and retrun interfaces should be one. I wonder what
interface of array of array interger or array of
Double should be return?
Does anyone has any ideas?
Thanks.
Sharon
__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail – Free email you can access from anywhere!
http://mail.yahoo.com/