You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/12/24 15:39:58 UTC

[jira] [Commented] (BCEL-276) LocalVariableTypeTable is not updated.

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

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

GitHub user KyongSik-Yoon opened a pull request:

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

    BCEL-276 LocalVariableTypeTable is not updated. 

    @britter I was fixed the problem reported by Mark Robert.
    This PR include small change.

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/12.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 #12
    
----
commit 825d992e1ceadb05a8187a5b6bf9fc6083072f02
Author: sam <sa...@gmail.com>
Date:   2016-07-28T10:44:29Z

    BCEL-277 Resolve constant to a string representation occur NoSuchElementException in case CONSTANT_NameAndType constant.

commit b0105bf90c0cdbe08f9076e24859aae07b46bcb2
Author: sam <sa...@gmail.com>
Date:   2016-07-28T11:11:03Z

    BCEL-276 LocalVariableTypeTable is not updated when use MethodGen.

commit d4522b52c6240b7e4c028563b34a05bc7684a7c7
Author: sam <sa...@gmail.com>
Date:   2016-07-28T11:11:03Z

    BCEL-276 LocalVariableTypeTable is not updated when use MethodGen.

commit 500730c2058d1c4ebf611e401a66eb605d8467fc
Author: sam <sa...@gmail.com>
Date:   2016-08-22T02:05:51Z

    BCEL-276 LocalVariableTypeTable is not updated when use MethodGen.

commit 496c6ecef0d097383d8e2558a65f62bf38a5bdb2
Author: sam <sa...@gmail.com>
Date:   2016-08-22T02:08:57Z

    Merge remote-tracking branch 'origin/BCEL-276' into BCEL-276
    
    Conflicts:
    	src/main/java/org/apache/bcel/generic/MethodGen.java
    	src/test/java/org/apache/bcel/data/SimpleClassHasMethodIncludeGenericArgument.java

commit 6c2a6f01fdcd4400bb5decb910915eb78137a07b
Author: sam <sa...@gmail.com>
Date:   2016-08-23T01:12:02Z

    Merge remote-tracking branch 'remotes/upstream/trunk' into BCEL-276
    
    Conflicts:
    	src/test/java/org/apache/bcel/classfile/ConstantPoolTestCase.java
    	src/test/java/org/apache/bcel/data/SimpleClassWithDefaultConstructor.java

commit d6c7fed046b8c49de35ff833cc984f4f4da26602
Author: sam <sa...@gmail.com>
Date:   2016-08-23T01:16:26Z

    BCEL-276 Remove old test case and add simple comment after rebase with trunk.

commit 92e8797cf4aacdeeb2407fe3333b4835a2378886
Author: sam <sa...@gmail.com>
Date:   2016-08-23T14:25:31Z

    BCEL-276 Remove old test case and add simple comment after rebase with trunk.
    * Revert reorganize import.

commit 907d204d0a81edb0343881552416e2c1db3c718d
Author: sam <sa...@gmail.com>
Date:   2016-08-30T08:00:59Z

    BCEL-276 Generate LocalVariableTypeTable section

commit c294cf5355ef244d707e1219cdccc4253ecc195a
Author: sam <sa...@gmail.com>
Date:   2016-08-30T21:59:36Z

    BCEL-276 Move generate LocalVariableTable section to call getMethod()

commit cb4a2e48df1da938fa9a990aa05c10be127ef5b3
Author: sam <sa...@gmail.com>
Date:   2016-09-06T01:59:05Z

    BCEL-276 Fixed NullPointerException

commit 6fca90afed94a8b8fc32821bbc28c655bc48aae3
Author: sam <sa...@gmail.com>
Date:   2016-12-24T15:18:47Z

    BCEL-276 Add missing part that adjust to start pc each of local variables on local variable type table and rename method.

commit 6917052a54643f63b5abebf79dae59eab5aebc4c
Author: sam <sa...@gmail.com>
Date:   2016-12-24T15:34:17Z

    BCEL-276 Add missing part that adjust to start pc each of local variables on local variable type table and rename method.

----


> 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: LocalVariableTypeTableTest.java, MethodGen.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.3.4#6332)