Hello everyone,
I've reproduced the same problem and updated Issue #2282 with a link to this
thread.

Issue #2862:
http://code.google.com/p/google-web-toolkit/issues/detail?id=2862

We'll leave it to the compiler experts to find out what's going on and let
us know. In the meantime it seems like the warning message is harmless and
shouldn't prevent anyone from moving forward with development, albeit it is
a tad annoying to have the message hanging around.

Please feel free to star the issue report to be notified of any issue
updates.

Cheers,
-Sumit Chandel

On Sat, Nov 1, 2008 at 11:03 AM, Yegor <[EMAIL PROTECTED]> wrote:

>
> And BTW, switching to HashMap<String, String> didn't help (doing this
> was ok in my case as the map is not exposed to the public API,
> whatever that means in GWT context :) )
>
>
> On Nov 1, 12:51 pm, Yegor <[EMAIL PROTECTED]> wrote:
> > I see this warning from the compiler too with 1.5.3. Didn't cause any
> > problems so far. My 2 cents.
> >
> > On Oct 30, 2:38 pm, WebDude <[EMAIL PROTECTED]> wrote:
> >
> > > I have the following class which I'm passing to and from an RPC
> > > method.  I receive this warning when I do:
> > > [WARN] Field 'private final
> > > com.google.gwt.i18n.client.impl.ConstantMap.OrderedConstantSet<
> java.lang.St ring>
> > > keys' will not be serialized because it is final
> >
> > > If I leave out the "stringMap" member, I do not get the warning.  Is
> > > this a warning I need to worry about?
> >
> > > public class GenericRPCObject implements IsSerializable
> > > {
> > >   public String strObj;
> > >   public Map<String, Date>                     dateMap       = new
> > > HashMap<String, Date>();
> > >   public Map<String, String>                   stringMap     = new
> > > HashMap<String, String>();
> > >   public Map<String, Integer>                  intMap         = new
> > > HashMap<String, Integer>();
> > >   public Map<String, Double>                  doubleMap   = new
> > > HashMap<String, Double>();
> > >   public Map<String, GenericRPCObject> objMap        = new
> > > HashMap<String, GenericRPCObject>();
> >
> > > }
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to