This is the mail archive of the mauve-discuss@sources.redhat.com mailing list for the Mauve project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Class.getInterfaces() on [[I


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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]