2007-12-01 00:00:00 +00:00
|
|
|
/*
|
2020-12-30 17:20:54 +00:00
|
|
|
* @test /nodynamiccopyright/
|
2007-12-01 00:00:00 +00:00
|
|
|
* @bug 4309152
|
|
|
|
* @summary Compiler silently generates bytecode that exceeds VM limits
|
|
|
|
* @author gafter
|
|
|
|
*
|
2013-12-17 23:15:48 +00:00
|
|
|
* @compile/fail/ref=ArrayDims4.out -XDrawDiagnostics ArrayDims4.java
|
2007-12-01 00:00:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
class ArrayDims4 {
|
|
|
|
static Object y = new Object
|
|
|
|
[1][][][][][][][][][]
|
|
|
|
[][][][][][][][][][]
|
|
|
|
[][][][][][][][][][]
|
|
|
|
[][][][][][][][][][]
|
|
|
|
[][][][][][][][][][]
|
|
|
|
[][][][][][][][][][]
|
|
|
|
[][][][][][][][][][]
|
|
|
|
[][][][][][][][][][]
|
|
|
|
[][][][][][][][][][]
|
|
|
|
[][][][][][][][][][]
|
|
|
|
[][][][][][][][][][]
|
|
|
|
[][][][][][][][][][]
|
|
|
|
[][][][][][][][][][]
|
|
|
|
[][][][][][][][][][]
|
|
|
|
[][][][][][][][][][]
|
|
|
|
[][][][][][][][][][]
|
|
|
|
[][][][][][][][][][]
|
|
|
|
[][][][][][][][][][]
|
|
|
|
[][][][][][][][][][]
|
|
|
|
[][][][][][][][][][]
|
|
|
|
[][][][][][][][][][]
|
|
|
|
[][][][][][][][][][]
|
|
|
|
[][][][][][][][][][]
|
|
|
|
[][][][][][][][][][]
|
|
|
|
[][][][][][][][][][]
|
|
|
|
[][][][][][]; // 256 = too many
|
|
|
|
}
|