Comment by rj...@google.com:

I'm with John T about the freeze() method: encouraging people to retroactively lock down an existing array instance seems like a bad idea. Like he says, the smart ones will make defensive copies anyway, so why don't we simply do the same and make the mistakes impossible?

The current "change it at runtime and take your chances" proposal seems very un-GWTlike.


For more information:
http://code.google.com/p/google-web-toolkit/wiki/LightweightCollections

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

Reply via email to