1
2.class multidimensional
3.super java/lang/Object
4
5
6; Output from some versions of javac on:
7; public static Object test_getObjectArray() {
8;     Object[][] array = null;
9;     return array[1][1];
10; }
11.method public static test_getObjectArray()Ljava/lang/Object;
12    .limit locals 1
13    .limit stack 2
14
15    aconst_null
16    astore_0
17    aload_0
18    iconst_1
19    aaload
20    iconst_1
21    aaload
22    areturn
23.end method
24
25; Output from some versions of javac on:
26; public static void test_setObjectArray() {
27;     Object[][] array = null;
28;     array[1][1] = null;
29; }
30.method public static test_setObjectArray()V
31    .limit locals 1
32    .limit stack 3
33
34    aconst_null
35    astore_0
36    aload_0
37    iconst_1
38    aaload
39    iconst_1
40    aconst_null
41    aastore
42    return
43.end method
44
45
46; Output from some versions of javac on:
47; public static boolean test_getBooleanArray() {
48;     boolean[][] array = null;
49;     return array[1][1];
50; }
51.method public static test_getBooleanArray()Z
52    .limit locals 1
53    .limit stack 2
54
55    aconst_null
56    astore_0
57    aload_0
58    iconst_1
59    aaload
60    iconst_1
61    baload
62    ireturn
63.end method
64
65; Output from some versions of javac on:
66; public static void test_setBooleanArray() {
67;     boolean[][] array = null;
68;     array[1][1] = false;
69; }
70.method public static test_setBooleanArray()V
71    .limit locals 1
72    .limit stack 3
73
74    aconst_null
75    astore_0
76    aload_0
77    iconst_1
78    aaload
79    iconst_1
80    iconst_0
81    bastore
82    return
83.end method
84
85
86; Output from some versions of javac on:
87; public static byte test_getByteArray() {
88;     byte[][] array = null;
89;     return array[1][1];
90; }
91.method public static test_getByteArray()B
92    .limit locals 1
93    .limit stack 2
94
95    aconst_null
96    astore_0
97    aload_0
98    iconst_1
99    aaload
100    iconst_1
101    baload
102    ireturn
103.end method
104
105; Output from some versions of javac on:
106; public static void test_setByteArray() {
107;     byte[][] array = null;
108;     array[1][1] = 0;
109; }
110.method public static test_setByteArray()V
111    .limit locals 1
112    .limit stack 3
113
114    aconst_null
115    astore_0
116    aload_0
117    iconst_1
118    aaload
119    iconst_1
120    iconst_0
121    bastore
122    return
123.end method
124
125
126; Output from some versions of javac on:
127; public static char test_getCharArray() {
128;     char[][] array = null;
129;     return array[1][1];
130; }
131.method public static test_getCharArray()C
132    .limit locals 1
133    .limit stack 2
134
135    aconst_null
136    astore_0
137    aload_0
138    iconst_1
139    aaload
140    iconst_1
141    caload
142    ireturn
143.end method
144
145; Output from some versions of javac on:
146; public static void test_setCharArray() {
147;     char[][] array = null;
148;     array[1][1] = 0;
149; }
150.method public static test_setCharArray()V
151    .limit locals 1
152    .limit stack 3
153
154    aconst_null
155    astore_0
156    aload_0
157    iconst_1
158    aaload
159    iconst_1
160    iconst_0
161    castore
162    return
163.end method
164
165
166; Output from some versions of javac on:
167; public static short test_getShortArray() {
168;     short[][] array = null;
169;     return array[1][1];
170; }
171.method public static test_getShortArray()S
172    .limit locals 1
173    .limit stack 2
174
175    aconst_null
176    astore_0
177    aload_0
178    iconst_1
179    aaload
180    iconst_1
181    saload
182    ireturn
183.end method
184
185; Output from some versions of javac on:
186; public static void test_setShortArray() {
187;     short[][] array = null;
188;     array[1][1] = 0;
189; }
190.method public static test_setShortArray()V
191    .limit locals 1
192    .limit stack 3
193
194    aconst_null
195    astore_0
196    aload_0
197    iconst_1
198    aaload
199    iconst_1
200    iconst_0
201    sastore
202    return
203.end method
204
205
206; Output from some versions of javac on:
207; public static int test_getIntArray() {
208;     int[][] array = null;
209;     return array[1][1];
210; }
211.method public static test_getIntArray()I
212    .limit locals 1
213    .limit stack 2
214
215    aconst_null
216    astore_0
217    aload_0
218    iconst_1
219    aaload
220    iconst_1
221    iaload
222    ireturn
223.end method
224
225; Output from some versions of javac on:
226; public static void test_setIntArray() {
227;     int[][] array = null;
228;     array[1][1] = 0;
229; }
230.method public static test_setIntArray()V
231    .limit locals 1
232    .limit stack 3
233
234    aconst_null
235    astore_0
236    aload_0
237    iconst_1
238    aaload
239    iconst_1
240    iconst_0
241    iastore
242    return
243.end method
244
245
246; Output from some versions of javac on:
247; public static long test_getLongArray() {
248;     long[][] array = null;
249;     return array[1][1];
250; }
251.method public static test_getLongArray()J
252    .limit locals 1
253    .limit stack 2
254
255    aconst_null
256    astore_0
257    aload_0
258    iconst_1
259    aaload
260    iconst_1
261    laload
262    lreturn
263.end method
264
265; Output from some versions of javac on:
266; public static void test_setLongArray() {
267;     long[][] array = null;
268;     array[1][1] = 0;
269; }
270.method public static test_setLongArray()V
271    .limit locals 1
272    .limit stack 4
273
274    aconst_null
275    astore_0
276    aload_0
277    iconst_1
278    aaload
279    iconst_1
280    lconst_0
281    lastore
282    return
283.end method
284
285
286; Output from some versions of javac on:
287; public static float test_getFloatArray() {
288;     float[][] array = null;
289;     return array[1][1];
290; }
291.method public static test_getFloatArray()F
292    .limit locals 1
293    .limit stack 2
294
295    aconst_null
296    astore_0
297    aload_0
298    iconst_1
299    aaload
300    iconst_1
301    faload
302    freturn
303.end method
304
305; Output from some versions of javac on:
306; public static void test_setFloatArray() {
307;     float[][] array = null;
308;     array[1][1] = 0;
309; }
310.method public static test_setFloatArray()V
311    .limit locals 1
312    .limit stack 3
313
314    aconst_null
315    astore_0
316    aload_0
317    iconst_1
318    aaload
319    iconst_1
320    fconst_0
321    fastore
322    return
323.end method
324
325
326; Output from some versions of javac on:
327; public static double test_getDoubleArray() {
328;     double[][] array = null;
329;     return array[1][1];
330; }
331.method public static test_getDoubleArray()D
332    .limit locals 1
333    .limit stack 2
334
335    aconst_null
336    astore_0
337    aload_0
338    iconst_1
339    aaload
340    iconst_1
341    daload
342    dreturn
343.end method
344
345; Output from some versions of javac on:
346; public static void test_setDoubleArray() {
347;     double[][] array = null;
348;     array[1][1] = 0;
349; }
350.method public static test_setDoubleArray()V
351    .limit locals 1
352    .limit stack 4
353
354    aconst_null
355    astore_0
356    aload_0
357    iconst_1
358    aaload
359    iconst_1
360    dconst_0
361    dastore
362    return
363.end method
364
365