[
https://issues.apache.org/jira/browse/BCEL-276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16144471#comment-16144471
]
Mark Roberts commented on BCEL-276:
-----------------------------------
This does not appear to be corrected in the current sources. I have updated
the patch for MethodGen to sync with changes made from my last upload. It is
now called MethodGen.mark.diff2.
> LocalVariableTypeTable is not updated.
> ---------------------------------------
>
> Key: BCEL-276
> URL: https://issues.apache.org/jira/browse/BCEL-276
> Project: Commons BCEL
> Issue Type: Bug
> Affects Versions: 6.0
> Reporter: Sam Yoon
> Assignee: Benedikt Ritter
> Labels: github
> Fix For: 6.1
>
> Attachments: LocalVariableGen.mark.diff, LocalVariable.mark.diff,
> LocalVariableTypeTableTest.java, MethodGen.diff, MethodGen.mark.diff,
> SimpleClassHasMethodIncludeGenericArgument.java
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)