Asmtools does not print source line even if -sl option is set

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • asm_tools_7.0
    • Affects Version/s: asm_tools_5.0, asm_tools_6.0, asm_tools_7.0
    • Component/s: tools
    • None
    • b06

      jdis -sl CAST.class

      prints:

      public static Method run:"([Ljava/lang/String;Ljava/io/PrintStream;)I"
      stack 3 locals 3
      {
      // null
      new class java/lang/Integer;
      dup;
      iconst_1;
      invokespecial Method java/lang/Integer."<init>":"(I)V";
      astore_2;
      // null
      iconst_0;
      ireturn;
      }

      expected:

      public static Method run:"([Ljava/lang/String;Ljava/io/PrintStream;)I"
      stack 3 locals 3
      {
      // Number z = (@Advanced(s = "test", i = 321) Integer)new Integer(1);
      new class java/lang/Integer;
      dup;
      iconst_1;
      invokespecial Method java/lang/Integer."<init>":"(I)V";
      astore_2;
      // return 0/*STATUS_PASSED*/;
      iconst_0;
      ireturn;
      }

            Assignee:
            Leonid Kuskov
            Reporter:
            Leonid Kuskov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: