mirror of https://github.com/apache/openjpa.git
OPENJPA-1676: Handle null class name in PCClassFileTransformer.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@963752 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f03b417d41
commit
d5e876372d
|
@ -109,6 +109,10 @@ public class PCClassFileTransformer
|
|||
if (loader == _tmpLoader)
|
||||
return null;
|
||||
|
||||
// JDK bug -- OPENJPA-1676
|
||||
if (className == null) {
|
||||
return null;
|
||||
}
|
||||
// prevent re-entrant calls, which can occur if the enhanceing
|
||||
// loader is used to also load OpenJPA libraries; this is to prevent
|
||||
// recursive enhancement attempts for internal openjpa libraries
|
||||
|
|
Loading…
Reference in New Issue