Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2122

VerifyError with Java 7 when using javaagent or dynamic container enhancement

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.2.0
    • Enhance, kernel
    • None

    Description

      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=...

      Attachments

        Issue Links

          Activity

            People

              kwsutter Kevin W. Sutter
              kwsutter Kevin W. Sutter
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: