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]

RE: Class.getInterfaces() on [[I


Title: RE: Class.getInterfaces() on [[I

For java1.2.2 it retrun two interfaces, Serializable and Cloneable. For JDK1.1.4, only return the empty list of array.

-----Original Message-----
From: Tom Tromey [mailto:tromey@cygnus.com]
Sent: Thursday, July 13, 2000 8:50 AM
To: Peter Naulls
Cc: mauve-discuss@sourceware.cygnus.com
Subject: Re: Class.getInterfaces() on [[I


Peter> Also 1.  Arrays, regardless of dimension only implement 1 interface,
Peter> java.lang.Cloneable.

That's true for jdk 1.0 (which is what this test tests).
My understanding is that for 1.1 arrays also implement Serializable.

Tom


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