openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mik...@apache.org
Subject svn commit: r632850 - /openjpa/branches/1.0.x/openjpa-kernel-5/src/main/java/org/apache/openjpa/enhance/ManagedClassSubclasser.java
Date Sun, 02 Mar 2008 21:29:57 GMT
Author: mikedd
Date: Sun Mar  2 13:29:56 2008
New Revision: 632850

URL: http://svn.apache.org/viewvc?rev=632850&view=rev
Log:
OPENJPA-529 cloning configuration before running enhancer

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=632850&r1=632849&r2=632850&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
Sun Mar  2 13:29:56 2008
@@ -116,7 +116,8 @@
         Set<Class> unspecified = null;
         for (Iterator iter = classes.iterator(); iter.hasNext(); ) {
             final Class cls = (Class) iter.next();
-            final PCEnhancer enhancer = new PCEnhancer(conf, cls);
+            final PCEnhancer enhancer =
+                    new PCEnhancer((OpenJPAConfiguration) conf.clone(), cls);
 
             enhancer.setBytecodeWriter(new BytecodeWriter() {
                 public void write(BCClass bc) throws IOException {



Mime
View raw message