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: Array question


On 1 Oct 2001, Tom Tromey wrote:

> I notice in the test for java.lang.reflect.Array you wrote a few tests
> which require that arrays have no more than 255 dimensions.  Where is
> this limit specified?  The only reference I could find suggests that
> this is a possible, but not required, limit.

It probably came from the fact that multianewarray has a 1-byte dimensions
field.  However, I suppose there's no reason one couldn't create an array
with more dimensions, since the dimensions field only tells how many
dimensions should be initialized: it's the type signature that determines
how many dimensions there are overall.

--
Patrick Doyle
doylep@eecg.toronto.edu


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