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

LocalVariableTypeTable is not updated.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.1
    • Component/s: None
    • Labels:

      Description

      If a method for BCI have at least one generic type of argument JVM throw java.lang.ClassFormatError due to not updated LocalVariableTable.

      I know there is workaround as call removeLocalVariables method.
      But I think it's better that BCEL can stay proper LocalVariableTable.

      I'm also pull test case can reproduce error.

        Attachments

        1. SimpleClassHasMethodIncludeGenericArgument.java
          0.3 kB
          Sam Yoon
        2. MethodGen.mark.diff2
          6 kB
          Mark Roberts
        3. LocalVariableTypeTableTest.java
          4 kB
          Sam Yoon
        4. LocalVariableGen.mark.diff
          2 kB
          Mark Roberts
        5. LocalVariable.mark.diff
          2 kB
          Mark Roberts

          Activity

            People

            • Assignee:
              britter Benedikt Ritter
              Reporter:
              SamYoon Sam Yoon
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: