This is the mail archive of the
mailing list for the Mauve project.
Re: Array question
- To: tromey at redhat dot com
- Subject: Re: Array question
- From: Eric Blake <ebb9 at email dot byu dot edu>
- Date: Mon, 01 Oct 2001 19:57:10 -0600
- CC: Mauve Hackers <mauve-discuss at sourceware dot cygnus dot com>
- Organization: BYU Student
- References: <firstname.lastname@example.org>
I was going off the fact that the JVMS does not allow more than 255
dimensions in the .class file format; and Sun's implementation does not
permit arrays larger than 255 dimensions by compilation or by
reflection. I agree that the Java Language Specification, and the API
specification, do not make this limit hard and fast (ie. a compiler like
gcj could make more dimensions if so desired), but it makes any Java
source file that exceeds this limit non-portable.
Tom Tromey wrote:
> Eric --
> 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.
This signature intentionally left boring.
Eric Blake email@example.com
BYU student, free software programmer