package com.test19;
public class Test02 {
public void test(){
Integer[] m = new Integer[]{};
m[0] += 3;
}
}
package com.test19;
public class Test02 {
public Test02() { }
public void test() {
Integer[] m = new Integer[0];
m[0] = Integer.valueOf(m[0].intValue() + 3);
}
}
Classfile /C:/Test02.class
Last modified 2018-7-25; size 492 bytes
MD5 checksum 5497a7800c6b84a191ee203de7bd3a24
Compiled from "Test02.java"
public class com.test19.Test02
SourceFile: "Test02.java"
minor version: 0
major version: 51
flags: ACC_PUBLIC, ACC_SUPER
Constant pool:
#1 = Methodref #6.#19 // java/lang/Object."<init>":()V
#2 = Class #20 // java/lang/Integer
#3 = Methodref #2.#21 // java/lang/Integer.intValue:()I
#4 = Methodref #2.#22 // java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
#5 = Class #23 // com/test19/Test02
#6 = Class #24 // java/lang/Object
#7 = Utf8 <init>
#8 = Utf8 ()V
#9 = Utf8 Code
#10 = Utf8 LineNumberTable
#11 = Utf8 LocalVariableTable
#12 = Utf8 this
#13 = Utf8 Lcom/test19/Test02;
#14 = Utf8 test
#15 = Utf8 m
#16 = Utf8 [Ljava/lang/Integer;
#17 = Utf8 SourceFile
#18 = Utf8 Test02.java
#19 = NameAndType #7:#8 // "<init>":()V
#20 = Utf8 java/lang/Integer
#21 = NameAndType #25:#26 // intValue:()I
#22 = NameAndType #27:#28 // valueOf:(I)Ljava/lang/Integer;
#23 = Utf8 com/test19/Test02
#24 = Utf8 java/lang/Object
#25 = Utf8 intValue
#26 = Utf8 ()I
#27 = Utf8 valueOf
#28 = Utf8 (I)Ljava/lang/Integer;
{
public com.test19.Test02();
flags: ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
0: aload_0
1: invokespecial #1 // Method java/lang/Object."<init>":()V
4: return
LineNumberTable:
line 4: 0
LocalVariableTable:
Start Length Slot Name Signature
0 5 0 this Lcom/test19/Test02;
public void test();
flags: ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
0: iconst_0
1: anewarray #2 // class java/lang/Integer
4: astore_1
5: aload_1
6: astore_2
7: aload_2
8: iconst_0
9: aload_2
10: iconst_0
11: aaload
12: invokevirtual #3 // Method java/lang/Integer.intValue:()I
15: iconst_3
16: iadd
17: invokestatic #4 // Method java/lang/Integer.valueOf:(I)Ljava/lang/Integer;
20: dup_x2
21: aastore
22: pop
23: return
LineNumberTable:
line 14: 0
line 15: 5
line 17: 23
LocalVariableTable:
Start Length Slot Name Signature
0 24 0 this Lcom/test19/Test02;
5 19 1 m [Ljava/lang/Integer;
}