commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BCEL-276) LocalVariableTypeTable is not updated.
Date Thu, 28 Jul 2016 11:14:20 GMT

    [ https://issues.apache.org/jira/browse/BCEL-276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15397404#comment-15397404
] 

ASF GitHub Bot commented on BCEL-276:
-------------------------------------

GitHub user KyongSik-Yoon opened a pull request:

    https://github.com/apache/commons-bcel/pull/10

    BCEL-276 LocalVariableTypeTable is not updated when use MethodGen.

    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.
    
    This PR include unit test for reproduce a bug.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/KyongSik-Yoon/commons-bcel BCEL-276

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/commons-bcel/pull/10.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #10
    
----
commit b0105bf90c0cdbe08f9076e24859aae07b46bcb2
Author: sam <sam1287@gmail.com>
Date:   2016-07-28T11:11:03Z

    BCEL-276 LocalVariableTypeTable is not updated when use MethodGen.

----


> 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
>             Fix For: 6.1
>
>         Attachments: LocalVariableTypeTableTest.java, 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.3.4#6332)

Mime
View raw message