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
public static class PCClassFileTransformer.Reentrant extends PCClassFileTransformer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.openjpa.enhance.PCClassFileTransformer
PCClassFileTransformer.Reentrant
-
-
Constructor Summary
Constructors Constructor Description Reentrant(MetaDataRepository repos, PCEnhancer.Flags flags, ClassLoader tmpLoader, boolean devscan)
Reentrant(MetaDataRepository repos, Options opts, ClassLoader loader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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, transform
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.instrument.ClassFileTransformer
transform
-
-
-
-
Constructor Detail
-
Reentrant
public Reentrant(MetaDataRepository repos, Options opts, ClassLoader loader)
-
Reentrant
public Reentrant(MetaDataRepository repos, PCEnhancer.Flags flags, ClassLoader tmpLoader, boolean devscan)
-
-
Method Detail
-
transform0
protected byte[] transform0(String className, Class redef, byte[] bytes) throws IllegalClassFormatException
Description copied from class:PCClassFileTransformer
We have to split the transform method into two methods to avoid ClassCircularityError when executing method using pure-JIT JVMs such as JRockit.- Overrides:
transform0
in classPCClassFileTransformer
- Throws:
IllegalClassFormatException
-
-