You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Albert Lee (Closed) (JIRA)" <ji...@apache.org> on 2012/02/08 16:05:59 UTC

[jira] [Closed] (OPENJPA-2122) VerifyError with Java 7 when using javaagent or dynamic container enhancement

     [ https://issues.apache.org/jira/browse/OPENJPA-2122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Albert Lee closed OPENJPA-2122.
-------------------------------

    
> VerifyError with Java 7 when using javaagent or dynamic container enhancement
> -----------------------------------------------------------------------------
>
>                 Key: OPENJPA-2122
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2122
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: Enhance, kernel
>    Affects Versions: 2.2.0
>            Reporter: Kevin Sutter
>            Assignee: Kevin Sutter
>             Fix For: 2.2.0
>
>
> In a Java 7 runtime environment, the javaagent mechanism for enhancing the Entity classes was not properly detecting a Java 7 class file.  Thus, the final stack map table fixups were not performed by ASM.  The Entity class would end up with a VerifyError similar to this when being loaded:
> Caused by: java.lang.VerifyError: JVMVRFY012 stack shape inconsistent; class=mypackage/PersistentJPA, method=...

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