mirror of
https://github.com/apache/openjpa.git
synced 2025-03-07 00:49:39 +00:00
OPENJPA-2342. Changed to use the getDeclaredInterfaceNames instead of getDeclaredInterfaceTypes. All testing is looking good and should alleviate the problem of the classloading.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1461751 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c9fa4b9bda
commit
82027f4a35
@ -534,8 +534,8 @@ public class PCEnhancer {
|
||||
|
||||
// check if already enhanced
|
||||
ClassLoader loader = AccessController.doPrivileged(J2DoPrivHelper.getClassLoaderAction(type));
|
||||
for (Class<?> iface : _managedType.getDeclaredInterfaceTypes()) {
|
||||
if (iface.getName().equals(PCTYPE.getName())) {
|
||||
for (String iface : _managedType.getDeclaredInterfaceNames()) {
|
||||
if (iface.equals(PCTYPE.getName())) {
|
||||
if (_log.isTraceEnabled()) {
|
||||
_log.trace(_loc.get("pc-type", type, loader));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user