openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mik...@apache.org
Subject svn commit: r644006 - /openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/ManagedClassSubclasser.java
Date Wed, 02 Apr 2008 18:35:51 GMT
Author: mikedd
Date: Wed Apr  2 11:35:50 2008
New Revision: 644006

URL: http://svn.apache.org/viewvc?rev=644006&view=rev
Log:
OPENJPA-529. Clone issue with the configuration was accidentally re-introduced

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

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/ManagedClassSubclasser.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/ManagedClassSubclasser.java?rev=644006&r1=644005&r2=644006&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/ManagedClassSubclasser.java
(original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/ManagedClassSubclasser.java
Wed Apr  2 11:35:50 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