mirror of https://github.com/apache/openjpa.git
OPENJPA-600. Merge from ../branches/1.1.x. svn merge -c 656006 ../branches/1.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666918 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
629977fb1c
commit
5ee728e332
|
@ -116,6 +116,18 @@ public class PCClassFileTransformer
|
|||
return null;
|
||||
|
||||
_transforming = true;
|
||||
|
||||
return transform0(className, redef, bytes);
|
||||
}
|
||||
|
||||
/**
|
||||
* We have to split the transform method into two methods to avoid
|
||||
* ClassCircularityError when executing method using pure-JIT JVMs
|
||||
* such as JRockit.
|
||||
*/
|
||||
private byte[] transform0(String className, Class redef, byte[] bytes)
|
||||
throws IllegalClassFormatException {
|
||||
|
||||
try {
|
||||
Boolean enhance = needsEnhance(className, redef, bytes);
|
||||
if (enhance != null && _log.isTraceEnabled())
|
||||
|
|
Loading…
Reference in New Issue