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 "Map<String,
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.Map<java.lang.String, java.lang.String> scores
[java]
java.util.Map<java.lang.String, java.lang.String>
[java] Finding
possibly instantiable subtypes
[java]
java.util.IdentityHashMap<K, V> might be instantiable
[java]
java.util.LinkedHashMap<K, V> might be instantiable
[java]
java.util.HashMap<K, V> might be instantiable
[java]
java.util.TreeMap<K, V> might be instantiable
[java] Verifying
instantiability
[java]
java.util.IdentityHashMap<java.lang.String, java.lang.String>
[java]
Checking parameters of 'java.util.IdentityHashMap<java.lang.String,
java.lang.String>'
[java]
Checking type argument 0 of type 'java.util.IdentityHashMap<K, V>'
because it is directly exposed in this type or in one of its subtypes
[java]
Ignoring type argument 1 of type 'java.util.IdentityHashMap<K, V>'
because it is not exposed in this or any subtype
[java]
Analyzing the fields of type
'java.util.IdentityHashMap<java.lang.String, java.lang.String>' that
qualify for serialization
[java]
private K exposeKey
[java]
private K exposeValue
[java] Is
instantiable
[java]
java.util.LinkedHashMap<java.lang.String, java.lang.String>
[java]
Checking parameters of 'java.util.LinkedHashMap<java.lang.String,
java.lang.String>'
[java]
Checking type argument 0 of type 'java.util.LinkedHashMap<K, V>'
because it is directly exposed in this type or in one of its subtypes
[java]
Checking type argument 1 of type 'java.util.LinkedHashMap<K, V>'
because it is directly exposed in this type or in one of its subtypes
[java]
Checking parameters of 'java.util.HashMap<java.lang.String,
java.lang.String>'
[java]
Checking type argument 0 of type 'java.util.HashMap<K, V>' because it
is directly exposed in this type or in one of its subtypes
[java]
Checking type argument 1 of type 'java.util.HashMap<K, V>' because it
is directly exposed in this type or in one of its subtypes
[java]
Analyzing the fields of type 'java.util.HashMap<java.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.LinkedHashMap<java.lang.String, java.lang.String>' that
qualify for serialization
[java] Is
instantiable
[java]
java.util.HashMap<java.lang.String, java.lang.String>
[java]
Checking parameters of 'java.util.HashMap<java.lang.String,
java.lang.String>'
[java]
Checking type argument 0 of type 'java.util.HashMap<K, V>' because it
is directly exposed in this type or in one of its subtypes
[java]
Checking type argument 1 of type 'java.util.HashMap<K, V>' because it
is directly exposed in this type or in one of its subtypes
[java]
Analyzing the fields of type 'java.util.HashMap<java.lang.String,
java.lang.String>' that qualify for serialization
[java]
private K exposeKey
[java]
private V exposeValue
[java] Is
instantiable
[java]
java.util.TreeMap<java.lang.String, java.lang.String>
[java]
Checking parameters of 'java.util.TreeMap<java.lang.String,
java.lang.String>'
[java]
Checking type argument 0 of type 'java.util.TreeMap<K, V>' because it
is directly exposed in this type or in one of its subtypes
[java]
Checking type argument 1 of type 'java.util.TreeMap<K, V>' because it
is directly exposed in this type or in one of its subtypes
[java]
Analyzing the fields of type 'java.util.TreeMap<java.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.Map<java.lang.Long, java.lang.String> statuses
[java] private boolean
isProgressiveOrder
[java] private boolean
isPrintCard
[java] private boolean
isScoring
[java] private boolean
isReseller
[java] private
java.lang.String scoreKey
[java] Is instantiable
[java]
com.choicepoint.wps.gwt.applicant.client.add.SelectPackagePanel.ComponentTypeComparator
is not accessible from a class in its same package; it will be
excluded from the set of serializable types (reached via
com.choicepoint.wps.gwt.common.model.customer.GCustomer)
[java]
com.choicepoint.wps.gwt.applicant.client.add.SelectPackagePanel.ListItemsComparator
is not accessible from a class in its same package; it will be
excluded from the set of serializable types (reached via
com.choicepoint.wps.gwt.common.model.customer.GCustomer)
[java]
com.google.gwt.i18n.client.impl.ConstantMap is not default
instantiable (it must have a zero-argument constructor or no
constructors at all) and has no custom serializer. (reached via
com.choicepoint.wps.gwt.common.model.customer.GCustomer)
[java]
com.google.gwt.i18n.client.impl.ConstantMap is not default
instantiable (it must have a zero-argument constructor or no
constructors at all) and has no custom serializer. (reached via
com.choicepoint.wps.gwt.common.model.customer.GCustomer)
[java]
com.google.gwt.i18n.client.impl.ConstantMap is not default
instantiable (it must have a zero-argument constructor or no
constructors at all) and has no custom serializer. (reached via
com.choicepoint.wps.gwt.common.model.customer.GCustomer)
[java]
com.google.gwt.user.client.ui.FastStringMap<T> is not assignable to
'com.google.gwt.user.client.rpc.IsSerializable' or
'java.io.Serializable' nor does it have a custom field serializer
(reached via com.choicepoint.wps.gwt.common.model.customer.GCustomer)
[java]
com.google.gwt.user.client.ui.FastStringMap<T> is not assignable to
'com.google.gwt.user.client.rpc.IsSerializable' or
'java.io.Serializable' nor does it have a custom field serializer
(reached via com.choicepoint.wps.gwt.common.model.customer.GCustomer)
[java]
com.google.gwt.user.client.ui.FastStringMap<T> is not assignable to
'com.google.gwt.user.client.rpc.IsSerializable' or
'java.io.Serializable' nor does it have a custom field serializer
(reached via com.choicepoint.wps.gwt.common.model.customer.GCustomer)
On May 17, 4:28 pm, Adam <[email protected]> wrote:
> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group
> athttp://groups.google.com/group/google-web-toolkit?hl=en.
--
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.