[jboss-jira] [JBoss JIRA] (JASSIST-212) FieldAccess.replace causes java.lang.VerifyError

Shigeru Chiba (JIRA) jira-events at lists.jboss.org
Thu Nov 14 11:46:05 EST 2013


    [ https://issues.jboss.org/browse/JASSIST-212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12923709#comment-12923709 ] 

Shigeru Chiba commented on JASSIST-212:
---------------------------------------

OK, this is a bug caused because the type of the local variable #4 changes
during the try block but Javassist assumes that the type at the beginning of
the try block is preserved till the end of the block.
                
> FieldAccess.replace causes java.lang.VerifyError
> ------------------------------------------------
>
>                 Key: JASSIST-212
>                 URL: https://issues.jboss.org/browse/JASSIST-212
>             Project: Javassist
>          Issue Type: Bug
>    Affects Versions: 3.17.0-GA, 3.17.1-GA, 3.18.0-GA, 3.18.1-GA
>         Environment: JAVA7
>            Reporter: Jungkook Kim
>            Assignee: Shigeru Chiba
>         Attachments: modified_JIRA212.txt
>
>
> FieldAccess.replace causes java.lang.VerifyError with a specific code structure.
> javassist version 3.17.0~3.18.1
> 3.16.1 works fine.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list