Dear All,
-- I am using AutoValue with GWT 2.7 and run into an issue that serialization code is eliminated for AutoValue classes.
https://github.com/google/auto/tree/master/value
The eliminated classes are used as fields of other AutoValue classes, so they are not directly used as RPC call arguments / return types. It seems to me that the builder pattern AutoValue uses tricks dead code elimination in GWT.
Is there a consistent way of disabling code elimination for classes / methods? The only workaround for me is to create dummy RPC methods that use the encapsulated class as an argument / return type.
Thanks,
András
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment