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
This commit is contained in:
Michael Dick 2008-04-02 18:35:50 +00:00
parent 6aa8fd3c35
commit 79b23557d3
1 changed files with 1 additions and 2 deletions

View File

@ -118,8 +118,7 @@ public class ManagedClassSubclasser {
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 {