Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-dev] Fix for 226299 - Weaving of clone method using MappedSuperclass does not work correctly

The fix changes to weave a call to this._persistence_clone() in place of any
call to super.clone().  The change would only occur if the immediate superclass
implemented clone.

We, now, also, only weave in the cloning of the valueholder in the class that
actually owns the valueholder. Before the fix weaving would occur in any class
that used the valueholder.

Reviewed by James Sutherland and Chris Delahunt

Added test: InheritedModelJunitTest.testInheritedClone

Checked in fix that solves the issue with the exceptions in the bug.  The following
bug has been entered to track those issues:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=226977


Back to the top