From 79b23557d3e9ee16dbd11a52d82a64aec45c7039 Mon Sep 17 00:00:00 2001 From: Michael Dick Date: Wed, 2 Apr 2008 18:35:50 +0000 Subject: [PATCH] OPENJPA-529. Clone issue with the configuration was accidentally re-introduced git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@644006 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/openjpa/enhance/ManagedClassSubclasser.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/ManagedClassSubclasser.java b/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/ManagedClassSubclasser.java index e9aebb1be..53cc3c137 100644 --- a/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/ManagedClassSubclasser.java +++ b/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/ManagedClassSubclasser.java @@ -118,8 +118,7 @@ public class ManagedClassSubclasser { Set 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 {