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

isEnhanced doesn't support java 8 bytecode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.4.1
    • None
    • None

    Description

      AVERTISSEMENT - An exception was thrown while attempting to perform class file transformation on "com.github.rmannibucau.jwp.jpa.User":
      java.lang.ArrayIndexOutOfBoundsException: 28263
      	at serp.bytecode.lowlevel.ConstantPoolTable.get(ConstantPoolTable.java:139)
      	at org.apache.openjpa.enhance.PCClassFileTransformer.isEnhanced(PCClassFileTransformer.java:240)
      	at org.apache.openjpa.enhance.PCClassFileTransformer.needsEnhance(PCClassFileTransformer.java:195)
      	at org.apache.openjpa.enhance.PCClassFileTransformer.transform0(PCClassFileTransformer.java:140)
      	at org.apache.openjpa.enhance.PCClassFileTransformer.transform(PCClassFileTransformer.java:127)
      	at org.apache.openjpa.persistence.PersistenceProviderImpl$ClassTransformerImpl.transform(PersistenceProviderImpl.java:292)
      	at org.apache.openejb.persistence.PersistenceUnitInfoImpl$PersistenceClassFileTransformer.transform(PersistenceUnitInfoImpl.java:370)
      	at sun.instrument.TransformerManager.transform(TransformerManager.java:188)
      	at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:428)
      	at java.lang.ClassLoader.defineClass1(Native Method)
      	at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
      	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      
      

      Attachments

        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: