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

jasm: FieldData.ConstantValue holds undefined reference to CP while writing fields to a class

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • asm_tools_8.0
    • None
    • tools
    • None
    • b01
    • b02

      test.jasm
      ....
        const #15 = String #16; // ")]}\'\n"
        const #16 = Asciz ")]}\'\n";
      ...
       private static final Field #23:#24 = String ")]}\'\n"; // TEST:"Ljava/lang/String;"

      will be written
      : 0x1a 0x17 0x18 0x01 0x19 0x02 0xFF although expected
           0x1a 0x17 0x18 0x01 0x19 0x02 0x0F

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

              Created:
              Updated:
              Resolved: