- public static void test1();
- Flags: PUBLIC, STATIC
- Code:
- 0: iconst_0
- 1: istore_0
- 2: iload_0
- 3: bipush 20
- 5: if_icmpge 35
- 8: aconst_null
- 9: astore_1
- 10: iload_0
- 11: invokestatic java/lang/Integer.toString:(I)Ljava/lang/String;
- 14: astore_1
- 15: goto 22
- 18: astore_2
- 19: goto 29
- 22: getstatic java/lang/System.out:Ljava/io/PrintStream;
- 25: aload_1
- 26: invokevirtual java/io/PrintStream.println:(Ljava/lang/String;)V
- 29: iinc 0, 1
- 32: goto 2
- 35: return
- Exceptions:
- Try Handler
- Start End Start End Type
- ----- ----- ----- ----- ---------------------
- 10 15 18 22 Ljava/lang/Exception;
- public static void test1() {
- for (int i = 0; i < 20; i++) {
- String str = null;
- try {
- str = Integer.toString(i);
- } catch (Exception e) {
- continue;
- }
- System.out.println(str);
- }
- }
- public static void test1();
- Flags: PUBLIC, STATIC
- Code:
- 0: iconst_0
- 1: istore_0
- 2: iload_0
- 3: bipush 20
- 5: if_icmpge 33
- 8: iload_0
- 9: invokestatic java/lang/Integer.toString:(I)Ljava/lang/String;
- 12: astore_1
- 13: goto 20
- 16: astore_2
- 17: goto 27
- 20: getstatic java/lang/System.out:Ljava/io/PrintStream;
- 23: aload_1
- 24: invokevirtual java/io/PrintStream.println:(Ljava/lang/String;)V
- 27: iinc 0, 1
- 30: goto 2
- 33: return
- Exceptions:
- Try Handler
- Start End Start End Type
- ----- ----- ----- ----- ---------------------
- 8 13 16 20 Ljava/lang/Exception;
- public static void test1() {
- for (int i = 0; i < 20; i++) {
- final String str;
- try {
- str = Integer.toString(i);
- } catch (Exception e) {
- continue;
- }
- System.out.println(str);
- }
- }