Class PCClassFileTransformer.Reentrant

    • 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 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,
                         org.apache.openjpa.lib.util.Options opts,
                         java.lang.ClassLoader loader)
    • 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 class PCClassFileTransformer
        Throws:
        java.lang.instrument.IllegalClassFormatException