Package org.apache.openjpa.enhance
Class PCClassFileTransformer.Reentrant
java.lang.Object
org.apache.openjpa.enhance.PCClassFileTransformer
org.apache.openjpa.enhance.PCClassFileTransformer.Reentrant
- All Implemented Interfaces:
ClassFileTransformer
- Enclosing class:
- PCClassFileTransformer
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.openjpa.enhance.PCClassFileTransformer
PCClassFileTransformer.Reentrant -
Constructor Summary
ConstructorsConstructorDescriptionReentrant(MetaDataRepository repos, PCEnhancer.Flags flags, ClassLoader tmpLoader, boolean devscan) Reentrant(MetaDataRepository repos, Options opts, ClassLoader loader) -
Method Summary
Modifier and TypeMethodDescriptionprotected byte[]transform0(String className, Class redef, byte[] bytes) We have to split the transform method into two methods to avoid ClassCircularityError when executing method using pure-JIT JVMs such as JRockit.Methods inherited from class org.apache.openjpa.enhance.PCClassFileTransformer
newInstance, transformMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.instrument.ClassFileTransformer
transform
-
Constructor Details
-
Reentrant
-
Reentrant
public Reentrant(MetaDataRepository repos, PCEnhancer.Flags flags, ClassLoader tmpLoader, boolean devscan)
-
-
Method Details
-
transform0
protected byte[] transform0(String className, Class redef, byte[] bytes) throws IllegalClassFormatException Description copied from class:PCClassFileTransformerWe have to split the transform method into two methods to avoid ClassCircularityError when executing method using pure-JIT JVMs such as JRockit.- Overrides:
transform0in classPCClassFileTransformer- Throws:
IllegalClassFormatException
-