[jboss-jira] [JBoss JIRA] (JASSIST-161) java.lang.ClassFormatException in certain cases with Java 7

Joao Carvalho (JIRA) jira-events at lists.jboss.org
Mon Mar 19 15:27:47 EDT 2012


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

Joao Carvalho commented on JASSIST-161:
---------------------------------------

The actual test case isn't very relevant to this problem, we've tried with several versions of the injected method, like the original body, just printing something to System.out, empty body, all of them raise that exception. 

The injection code has been in production for quite a while, and simply renames the method, and wrapping a call to that method...
                
> java.lang.ClassFormatException in certain cases with Java 7
> -----------------------------------------------------------
>
>                 Key: JASSIST-161
>                 URL: https://issues.jboss.org/browse/JASSIST-161
>             Project: Javassist
>          Issue Type: Bug
>    Affects Versions: 3.16.1-GA
>         Environment: Oracle Java 7 on Mac OSX
>            Reporter: Joao Carvalho
>            Assignee: Shigeru Chiba
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list