JDK-4741759 : javac fails to diagnose too many array dimensions
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_8
  • CPU: generic
  • Submitted: 2002-09-04
  • Updated: 2002-10-26
  • Resolved: 2002-10-26
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.2 mantisFixed
Related Reports
Relates :  
Description
javac should reject the following because it violates the JVM limit on the number of dimensions in an array

abstract class T {
    abstract int
        [][][][][][][][][][][][][][][][]
        [][][][][][][][][][][][][][][][]
        [][][][][][][][][][][][][][][][]
        [][][][][][][][][][][][][][][][]
        [][][][][][][][][][][][][][][][]
        [][][][][][][][][][][][][][][][]
        [][][][][][][][][][][][][][][][]
        [][][][][][][][][][][][][][][][]
        f()
        [][][][][][][][][][][][][][][][]
        [][][][][][][][][][][][][][][][]
        [][][][][][][][][][][][][][][][]
        [][][][][][][][][][][][][][][][]
        [][][][][][][][][][][][][][][][]
        [][][][][][][][][][][][][][][][]
        [][][][][][][][][][][][][][][][]
        [][][][][][][][][][][][][][][][];
}

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mantis FIXED IN: mantis INTEGRATED IN: mantis mantis-b05
14-06-2004

PUBLIC COMMENTS ...
10-06-2004

EVALUATION Yes, we ought to diagnose this. ###@###.### 2002-09-04
04-09-2002