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

StackMap[Table]Entry.copy() needs to be deep; Improved support for StackMaps

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.0
    • None
    • None

    Description

      There are several ways a user can modify a Java class file that should cause BCEL to update the StackMaps automatically. Unfortunately, it does not. These additional methods at least allow users to take care of these issues for themselves.

      The patch also fixes a bug - StackMapTableEntry.copy() needs to be a deep copy to prevent StackMapTypes from being reused.

      Attachments

        1. stack-map.diff
          13 kB
          Mark Roberts

        Activity

          People

            Unassigned Unassigned
            markro Mark Roberts
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: