openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwsut...@apache.org
Subject svn commit: r639431 - /openjpa/trunk/openjpa-kernel-5/src/main/java/org/apache/openjpa/enhance/ManagedClassSubclasser.java
Date Thu, 20 Mar 2008 19:57:31 GMT
Author: kwsutter
Date: Thu Mar 20 12:57:30 2008
New Revision: 639431

URL: http://svn.apache.org/viewvc?rev=639431&view=rev
Log:
OPENJPA-529.  Revert the clone() operation on the Configuration object.  This is causing problems
with the subclassing enhancement.

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

Modified: openjpa/trunk/openjpa-kernel-5/src/main/java/org/apache/openjpa/enhance/ManagedClassSubclasser.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel-5/src/main/java/org/apache/openjpa/enhance/ManagedClassSubclasser.java?rev=639431&r1=639430&r2=639431&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel-5/src/main/java/org/apache/openjpa/enhance/ManagedClassSubclasser.java
(original)
+++ openjpa/trunk/openjpa-kernel-5/src/main/java/org/apache/openjpa/enhance/ManagedClassSubclasser.java
Thu Mar 20 12:57:30 2008
@@ -118,8 +118,7 @@
         Set<Class> unspecified = null;
         for (Iterator iter = classes.iterator(); iter.hasNext(); ) {
             final Class cls = (Class) iter.next();
-            final PCEnhancer enhancer =
-                    new PCEnhancer((OpenJPAConfiguration) conf.clone(), cls);
+            final PCEnhancer enhancer = new PCEnhancer(conf, cls);
 
             enhancer.setBytecodeWriter(new BytecodeWriter() {
                 public void write(BCClass bc) throws IOException {



Mime
View raw message