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:
Richard G. Curtis 2010-07-13 15:10:41 +00:00
parent f03b417d41
commit d5e876372d
1 changed files with 4 additions and 0 deletions

View File

@ -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