OpenJPA
  1. OpenJPA
  2. OPENJPA-2122

VerifyError with Java 7 when using javaagent or dynamic container enhancement

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.0
    • Component/s: Enhance, kernel
    • Labels:
      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=...

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Kevin Sutter
              Reporter:
              Kevin Sutter
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development