Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7902621

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: asm_tools_5.0, asm_tools_6.0, asm_tools_7.0
    • Fix Version/s: asm_tools_7.0
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b06

      Description

      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;
      }

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: