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:
java.lang.instrument.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, java.lang.ClassLoader tmpLoader, boolean devscan)
Reentrant(MetaDataRepository repos, Options opts, java.lang.ClassLoader loader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected byte[]
transform0(java.lang.String className, java.lang.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
-
-
-
-
Constructor Detail
-
Reentrant
public Reentrant(MetaDataRepository repos, Options opts, java.lang.ClassLoader loader)
-
Reentrant
public Reentrant(MetaDataRepository repos, PCEnhancer.Flags flags, java.lang.ClassLoader tmpLoader, boolean devscan)
-
-
Method Detail
-
transform0
protected byte[] transform0(java.lang.String className, java.lang.Class redef, byte[] bytes) throws java.lang.instrument.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:
java.lang.instrument.IllegalClassFormatException
-
-