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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: