Oh, I get your point now. Sorry. On Wed, Mar 31, 2010 at 12:42 PM, Ray Ryan <[email protected]> wrote:
> I don't follow your assertion, scott. I'm pretty sure that null is the > only legal value for a Void field, so what's the big deal about > serializing it? > > On Wed, Mar 31, 2010 at 9:40 AM, Scott Blum <[email protected]> wrote: > > Could you please explain this? I would assert that GenericType<Void> > should > > be serializable if and only if it contains no fields of type T, where T > is > > substituted for void. Do you disagree with this assertion, or is there a > > shortcoming in the current implementation that makes the assertion fail > to > > be actualized? > > > > On Wed, Mar 31, 2010 at 12:15 PM, <[email protected]> wrote: > >> > >> Reviewers: Dan Rice, > >> > >> Message: > >> Review requested. > >> > >> Description: > >> GWT RPC doesn't conside GenericType<Void> to be serializable because it > >> doesn't think that Void is serializable. > >> > >> Please review this at http://gwt-code-reviews.appspot.com/294801/show > >> > >> Affected files: > >> A > >> > user/src/com/google/gwt/user/client/rpc/core/java/lang/Void_CustomFieldSerializer.java > >> M user/test/com/google/gwt/user/client/rpc/CollectionsTest.java > >> M user/test/com/google/gwt/user/client/rpc/CollectionsTestService.java > >> M > >> > user/test/com/google/gwt/user/client/rpc/CollectionsTestServiceAsync.java > >> A > >> > user/test/com/google/gwt/user/client/rpc/SerializableGenericWrapperType.java > >> M user/test/com/google/gwt/user/client/rpc/TestSetFactory.java > >> M user/test/com/google/gwt/user/client/rpc/TestSetValidator.java > >> M user/test/com/google/gwt/user/client/rpc/ValueTypesTest.java > >> M user/test/com/google/gwt/user/client/rpc/ValueTypesTestService.java > >> M > >> user/test/com/google/gwt/user/client/rpc/ValueTypesTestServiceAsync.java > >> M > >> user/test/com/google/gwt/user/server/rpc/CollectionsTestServiceImpl.java > >> M > user/test/com/google/gwt/user/server/rpc/ValueTypesTestServiceImpl.java > >> > >> > >> -- > >> http://groups.google.com/group/Google-Web-Toolkit-Contributors > > > > -- > > http://groups.google.com/group/Google-Web-Toolkit-Contributors > > -- > http://groups.google.com/group/Google-Web-Toolkit-Contributors > > To unsubscribe, reply using "remove me" as the subject. > -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
