Uploaded image for project: 'Commons BCEL'
  1. Commons BCEL
  2. BCEL-40

bad iinc behavior with large local variable index

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.2
    • Main
    • None

    Description

      IINC isn't wide unless the index is > MAX_SHORT or increment is > Byte.MAX_BYTE.
      but the jvm spec says that for non-wide iinc, index is an unsigned byte. the
      attached patch fixes my problem.

      Attachments

        1. diff
          0.4 kB
          Andrew Huntwork

        Activity

          People

            issues@commons.apache.org Apache Commons Developers
            ashuntwo Andrew Huntwork
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: