OPENJPA-529. Revert the clone() operation on the Configuration object. This is causing problems with the subclassing enhancement.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@639431 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Kevin W. Sutter 2008-03-20 19:57:30 +00:00
parent 5f0094893e
commit b949f7adc5
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 {