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

LocalVariableTypeTable is not updated.

    XMLWordPrintableJSON

Details

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

    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

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

            Dates

              Created:
              Updated:
              Resolved: