mirror of https://github.com/apache/openjpa.git
OPENJPA-1707: Fix NPE coming from PCRegistry.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@961774 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
961e957be0
commit
2fa5556c0d
|
@ -4746,7 +4746,7 @@ public class PCEnhancer {
|
|||
if (cls == null || log == null) {
|
||||
return false;
|
||||
}
|
||||
PersistenceCapable pc = PCRegistry.newInstance(cls, null, true);
|
||||
PersistenceCapable pc = PCRegistry.newInstance(cls, null, false);
|
||||
if (pc == null) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue