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

        

Reply via email to