Re: GWT Compiler 2.0 Changes

2010-05-18 Thread Adam
I really hope someone can shed some light on the issue I'm having.
I've run the compile step in debug mode and able getting the following
output.  I gather that GWT is including the IdentityHashMap,
LinkedHashMap, HashMap, and TreeMap because of the MapString,
String define of the field scores.  What I don't understand is why
Googles own GWT classes are listed in error for being serializable.

Any thoughts, or suggestions would be greatly appreciated.

 [java]   private
java.util.Mapjava.lang.String, java.lang.String scores
 [java]
java.util.Mapjava.lang.String, java.lang.String
 [java] Finding
possibly instantiable subtypes
 [java]
java.util.IdentityHashMapK, V might be instantiable
 [java]
java.util.LinkedHashMapK, V might be instantiable
 [java]
java.util.HashMapK, V might be instantiable
 [java]
java.util.TreeMapK, V might be instantiable
 [java] Verifying
instantiability
 [java]
java.util.IdentityHashMapjava.lang.String, java.lang.String
 [java]
Checking parameters of 'java.util.IdentityHashMapjava.lang.String,
java.lang.String'
 [java]
Checking type argument 0 of type 'java.util.IdentityHashMapK, V'
because it is directly exposed in this type or in one of its subtypes
 [java]
Ignoring type argument 1 of type 'java.util.IdentityHashMapK, V'
because it is not exposed in this or any subtype
 [java]
Analyzing the fields of type
'java.util.IdentityHashMapjava.lang.String, java.lang.String' that
qualify for serialization
 [java]
private K exposeKey
 [java]
private K exposeValue
 [java]   Is
instantiable
 [java]
java.util.LinkedHashMapjava.lang.String, java.lang.String
 [java]
Checking parameters of 'java.util.LinkedHashMapjava.lang.String,
java.lang.String'
 [java]
Checking type argument 0 of type 'java.util.LinkedHashMapK, V'
because it is directly exposed in this type or in one of its subtypes
 [java]
Checking type argument 1 of type 'java.util.LinkedHashMapK, V'
because it is directly exposed in this type or in one of its subtypes
 [java]
Checking parameters of 'java.util.HashMapjava.lang.String,
java.lang.String'
 [java]
Checking type argument 0 of type 'java.util.HashMapK, V' because it
is directly exposed in this type or in one of its subtypes
 [java]
Checking type argument 1 of type 'java.util.HashMapK, V' because it
is directly exposed in this type or in one of its subtypes
 [java]
Analyzing the fields of type 'java.util.HashMapjava.lang.String,
java.lang.String' that qualify for serialization
 [java]
private K exposeKey
 [java]
private V exposeValue
 [java]
Analyzing the fields of type
'java.util.LinkedHashMapjava.lang.String, java.lang.String' that
qualify for serialization
 [java]   Is
instantiable
 [java]
java.util.HashMapjava.lang.String, java.lang.String
 [java]
Checking parameters of 'java.util.HashMapjava.lang.String,
java.lang.String'
 [java]
Checking type argument 0 of type 'java.util.HashMapK, V' because it
is directly exposed in this type or in one of its subtypes
 [java]
Checking type argument 1 of type 'java.util.HashMapK, V' because it
is directly exposed in this type or in one of its subtypes
 [java]
Analyzing the fields of type 'java.util.HashMapjava.lang.String,
java.lang.String' that qualify for serialization
 [java]
private K exposeKey
 [java]
private V exposeValue
 [java]   Is
instantiable
 [java]
java.util.TreeMapjava.lang.String, java.lang.String
 [java]
Checking parameters of 'java.util.TreeMapjava.lang.String,
java.lang.String'
 [java]
Checking type argument 0 of type 'java.util.TreeMapK, V' because it
is directly exposed in this type or in one of its subtypes
 [java]
Checking type argument 1 of type 'java.util.TreeMapK, V' because it
is directly exposed in this type or in one of its subtypes
 [java]
Analyzing the fields of type 'java.util.TreeMapjava.lang.String,
java.lang.String' that qualify for serialization
 [java]
private java.util.Comparator? super K cmp
 [java]
private K exposeKeyType
 [java]
private V exposeValueType
 [java]
private int size
 [java]   Is
instantiable
 [java]   private
java.util.Mapjava.lang.Long, java.lang.String statuses
 [java]   private boolean
isProgressiveOrder
 [java]   private boolean
isPrintCard
 [java]   private boolean
isScoring
 [java]   private boolean
isReseller
 [java] 

Re: GWT Compiler 2.0 Changes

2010-05-18 Thread Thomas Broyer


On 18 mai, 14:26, Adam ambr...@gmail.com wrote:
 I really hope someone can shed some light on the issue I'm having.
 I've run the compile step in debug mode and able getting the following
 output.  I gather that GWT is including the IdentityHashMap,
 LinkedHashMap, HashMap, and TreeMap because of the MapString,
 String define of the field scores.  What I don't understand is why
 Googles own GWT classes are listed in error for being serializable.

See http://code.google.com/p/google-web-toolkit/issues/detail?id=4438

-- 
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=en.



GWT Compiler 2.0 Changes

2010-05-17 Thread Adam
Does anyone know if the GWT 2.0 Compiler has become more strict or
made some breaking changes?  I've recently attempted to update from
GWT 1.7.1 to GWT 2.0.3 and we're getting tons of messages stating is
not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' or
'java.io.Serializable' nor does it have a custom field serializer.
Switching which version of the GWT SDK makes the different between our
several GWT projects compiling in ANT or not.

-- 
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=en.