mirror of https://github.com/apache/openjpa.git
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:
parent
6aa8fd3c35
commit
79b23557d3
|
@ -118,8 +118,7 @@ public class ManagedClassSubclasser {
|
||||||
Set<Class> unspecified = null;
|
Set<Class> unspecified = null;
|
||||||
for (Iterator iter = classes.iterator(); iter.hasNext(); ) {
|
for (Iterator iter = classes.iterator(); iter.hasNext(); ) {
|
||||||
final Class cls = (Class) iter.next();
|
final Class cls = (Class) iter.next();
|
||||||
final PCEnhancer enhancer =
|
final PCEnhancer enhancer = new PCEnhancer(conf, cls);
|
||||||
new PCEnhancer((OpenJPAConfiguration) conf.clone(), cls);
|
|
||||||
|
|
||||||
enhancer.setBytecodeWriter(new BytecodeWriter() {
|
enhancer.setBytecodeWriter(new BytecodeWriter() {
|
||||||
public void write(BCClass bc) throws IOException {
|
public void write(BCClass bc) throws IOException {
|
||||||
|
|
Loading…
Reference in New Issue