Last change
on this file was 2, checked in by bird, 22 years ago |
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
File size:
406 bytes
|
Line | |
---|
1 | public class G19990303_02
|
---|
2 | {
|
---|
3 | public static void main (String[] args)
|
---|
4 | {
|
---|
5 | int i = -1;
|
---|
6 | try
|
---|
7 | {
|
---|
8 | System.out.println ("Pass 1");
|
---|
9 | int[][][] arrayInt = new int[i][1][1];
|
---|
10 | int ii = arrayInt[i - 1][0][0];
|
---|
11 | System.out.println ("Pass 2");
|
---|
12 | }
|
---|
13 | catch (NegativeArraySizeException e)
|
---|
14 | {
|
---|
15 | System.out.println ("Pass NegativeArraySizeException");
|
---|
16 | }
|
---|
17 | System.out.println ("Pass 3");
|
---|
18 | }
|
---|
19 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.