What sort of opt-in mechanisms do you have in mind? Dan On Mon, Aug 3, 2009 at 2:02 PM, <b...@vawter.org> wrote:
> As much as I hate to say it, this approach isn't suitable for general > use. We should never mutate objects passed into the serialization > system, especially since the mutation isn't completely undoable. > Consider the case of a LinkedHashMap implementation that has a custom > removeEldestEntry() that expects exactly N-many entries. > > If you can implement this as an opt-in mechanism, the way this works > is fine. > > > http://gwt-code-reviews.appspot.com/54816 > --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---