mirror of
https://github.com/apache/openjpa.git
synced 2025-02-14 22:17:00 +00:00
OPENJPA-2911 _pc was missing the Java Version
This die lead to always generating classes only at Java-1.1 bytecode level.
This commit is contained in:
parent
3a667fe78a
commit
f0fe08baaa
@ -660,6 +660,8 @@ public class PCEnhancer {
|
||||
val.assertCanSubclass();
|
||||
|
||||
_pc = _managedType.getProject().loadClass(toPCSubclassName(_managedType.getType()));
|
||||
_pc.setMajorVersion(_managedType.getMajorVersion());
|
||||
_pc.setMinorVersion(_managedType.getMinorVersion());
|
||||
if (_pc.getSuperclassBC() != _managedType) {
|
||||
_pc.setSuperclass(_managedType);
|
||||
_pc.setAbstract(_managedType.isAbstract());
|
||||
|
Loading…
x
Reference in New Issue
Block a user