Enhancer and runtime enhancement

Classes enhanced by this release call new runtime methods (for example ApplicationIds.getRelatedObjectId() for derived identities) and fail on a 4.1.x runtime, while classes enhanced by 4.1.x still load but miss the fixes of this release. Re-run the build-time enhancer (Enhancement) with 4.2.0 when upgrading.

Runtime enhancement (openjpa.RuntimeUnenhancedClasses and the Java agent) changed: class redefinition uses Instrumentation.redefineClasses() and, if it fails, OpenJPA logs "redefineClasses failed" at INFO and silently falls back to subclass enhancement instead of throwing. getClass() calls in user equals()/hashCode() implementations of subclass-enhanced entities now see the entity class instead of the generated subclass, and generated writeReplace() methods work with non-public no-argument constructors.