As a tmp solution I just create a new LinkedList passing as argument the Unmodifiable one, but I think this is not a clear solution.
Anyway thanks for the suggestion. Federico On Nov 12, 2:57 pm, Dominik Steiner <dominik.j.stei...@googlemail.com> wrote: > Hi Frederico, > > how about before sending back the list creating an ArrayList and > iterating through the list you want to return in order to then fill > that ArrayList and return that? > > HTH > > Dominik > > On Nov 11, 1:03 pm, fedy2 <defav...@gmail.com> wrote: > > > Hi, > > I'm using GWT 1.5.3 and I'm trying to send a List by RPC but I'm > > getting a serialization exception: > > > Caused by: com.google.gwt.user.client.rpc.SerializationException: Type > > 'java.util.Collections$UnmodifiableList' was not included in the set > > of types which can be serialized by this SerializationPolicy or its > > Class object could not be loaded. For security purposes, this type > > will not be serialized. > > > How can make the UnmodifiableList type serializable? > > > The object transmitted by RPC contains a List type variable. > > I set the list variable taking the value from a method that return a > > List type value > > so I can't assume to receive an UnmodifiableList. > > > Thanks > > Federico -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=.