commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (BCEL-276) LocalVariableTypeTable is not updated.
Date Wed, 30 Aug 2017 19:35:00 GMT

     [ https://issues.apache.org/jira/browse/BCEL-276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benedikt Ritter resolved BCEL-276.
----------------------------------
    Resolution: Fixed

{code}
~/w/a/c/commons-bcel > svn ci -m "BCEL-276: LocalVariableTypeTable is not updated. Updated
fix thanks to Mark Roberts. This closes #12 from GitHub."
Sending        src/changes/changes.xml
Sending        src/main/java/org/apache/bcel/classfile/LocalVariable.java
Sending        src/main/java/org/apache/bcel/generic/LocalVariableGen.java
Sending        src/main/java/org/apache/bcel/generic/MethodGen.java
Transmitting file data ....done
Committing transaction...
Committed revision 1806728.
{code}

> 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.mark.diff2, 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)

Mime
View raw message