openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwsut...@apache.org
Subject svn commit: r1461751 - /openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java
Date Wed, 27 Mar 2013 17:59:59 GMT
Author: kwsutter
Date: Wed Mar 27 17:59:58 2013
New Revision: 1461751

URL: http://svn.apache.org/r1461751
Log:
OPENJPA-2342.  Changed to use the getDeclaredInterfaceNames instead of getDeclaredInterfaceTypes.
 All testing is looking good and should alleviate the problem of the classloading.

Modified:
    openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java?rev=1461751&r1=1461750&r2=1461751&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java
(original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java
Wed Mar 27 17:59:58 2013
@@ -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));
                     }



Mime
View raw message