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

javaagent broken on java 8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • None
    • None
    • None
    • None

    Description

      Hi

      using trunk and javaagent enhancement with java 8 we get errors like:

      Caused by: java.lang.reflect.InvocationTargetException
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.apache.openjpa.enhance.ClassRedefiner.redefineClasses(ClassRedefiner.java:85)
      	... 152 more
      Caused by: java.lang.VerifyError
      	at sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
      	at sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:144)
      

      Built time enhancement works.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              romain.manni-bucau Romain Manni-Bucau
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: