We will need to look closer at the code and try to re-produce it.
I hope the attached unit test helps...
So far we try to stay away from any code which tries to detect and handle enhanced classes specifically. Bean Validation is (or should be) agnostic to this.
Fair enough! Our workaround consist in detecting this kind of classes before the validation and creating (with reflection) a dummy instance of the superclass (the original class).
|