Closed GoogleCodeExporter closed 9 years ago
I've applied the patch in a Wicket - Spring - MyBatis setup and it works great.
Original comment by pruys...@gmail.com
on 28 Oct 2010 at 2:10
Arkadi. We have been talking about this issue and the patch you attached.
If only serialization will be covered we wonder if the writeReplace() method
could just be created at runtime. See attached patch.
This will alleviate users to add the writeReplace method to their beans. That
seems possitive.
But this same way cannot be used in deserization. In this case user beans must
have a read readResolve().
Anyway I think its not possible to restore objects to it original proxy state
so we could just check, as you proposed, that null properties are not accessed.
But how was you thinking to achieve this. ¿Providing an abstract class to
serve as a basis for user beans?
Original comment by eduardo.macarron
on 10 Dec 2010 at 11:38
Attachments:
[deleted comment]
Hi Arkadi, I have just seen that you and Christian are already speaking about
this issue on ML. So we'd better go on this the topic there. Thanks!
Original comment by eduardo.macarron
on 11 Dec 2010 at 8:37
Patch applied in r3386
Original comment by eduardo.macarron
on 12 Dec 2010 at 5:42
Original comment by eduardo.macarron
on 15 Dec 2010 at 4:35
Original comment by eduardo.macarron
on 3 Mar 2012 at 9:11
Original comment by eduardo.macarron
on 3 Mar 2012 at 9:37
Original issue reported on code.google.com by
arkadi.s...@gmail.com
on 20 Sep 2010 at 12:37Attachments: