[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 12:23:47 EDT 2012
[ https://issues.jboss.org/browse/JASSIST-161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joao Carvalho updated JASSIST-161:
----------------------------------
Workaround Description:
We found this problem when instrumenting some classes when injecting code using the High Level Javassist API.
java.lang.ClassFormatError: StackMapTable format error: bad offset for Uninitialized in method Process._removeFiles_(LProcessFile;)V
The intent of the injection is to wrap the method call, which renames the original method, method that is referenced in the exception.
The problem only arises when running under Java7, under Java6 everything works fine.
We have tried several solutions proposed here for similar issues, like '-XX:-FailOverToOldVerifier', with no success.
was:
We found this problem when instrumenting some classes when injecting code using the High Level Javassist API.
java.lang.ClassFormatError: StackMapTable format error: bad offset for Uninitialized in method Process._removeFiles_(LProcessFile;)V
The intent of the injection is to wrap the method call, which renames the original method, method that is referenced in the exception.
The problem only arises when running under Java7, under Java6 everything works fine.
> 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