I meant to comment; this would all be a lot simpler if GWT-RPC could
serialize final fields as the default/only behavior (basically remove
any configuration variables to turn it on/off).

I understand this isn't viable for the next release, as it's a breaking
change, and users might be putting values in final fields that they
don't want to go over the wire (although hopefully that is rare).

But, just throwing it out there, would it be possible to deprecate all
of the configuration variables, and say that in the next major release,
final fields will always be serialized?

Then a lot of the conditional flags and logic could be removed, and the
implementation would be simplified. Which isn't critical, but I think
would be nice.

http://gwt-code-reviews.appspot.com/1380807/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to