openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwsut...@apache.org
Subject svn commit: r639432 - /openjpa/branches/1.0.x/openjpa-kernel-5/src/main/java/org/apache/openjpa/enhance/ManagedClassSubclasser.java
Date Thu, 20 Mar 2008 19:57:34 GMT
Author: kwsutter
Date: Thu Mar 20 12:57:33 2008
New Revision: 639432

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

Modified:
    openjpa/branches/1.0.x/openjpa-kernel-5/src/main/java/org/apache/openjpa/enhance/ManagedClassSubclasser.java

Modified: openjpa/branches/1.0.x/openjpa-kernel-5/src/main/java/org/apache/openjpa/enhance/ManagedClassSubclasser.java
URL: http://svn.apache.org/viewvc/openjpa/branches/1.0.x/openjpa-kernel-5/src/main/java/org/apache/openjpa/enhance/ManagedClassSubclasser.java?rev=639432&r1=639431&r2=639432&view=diff
==============================================================================
--- openjpa/branches/1.0.x/openjpa-kernel-5/src/main/java/org/apache/openjpa/enhance/ManagedClassSubclasser.java
(original)
+++ openjpa/branches/1.0.x/openjpa-kernel-5/src/main/java/org/apache/openjpa/enhance/ManagedClassSubclasser.java
Thu Mar 20 12:57:33 2008
@@ -116,8 +116,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