mirror of https://github.com/apache/openjpa.git
OPENJPA-529 cloning configuration before running enhancer
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@632462 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9ece24ade3
commit
527b09ce6e
|
@ -118,7 +118,8 @@ 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(conf, cls);
|
||||
final PCEnhancer enhancer =
|
||||
new PCEnhancer((OpenJPAConfiguration) conf.clone(), cls);
|
||||
|
||||
enhancer.setBytecodeWriter(new BytecodeWriter() {
|
||||
public void write(BCClass bc) throws IOException {
|
||||
|
|
Loading…
Reference in New Issue