michalkawiak / gwtprojsonserializer

Automatically exported from code.google.com/p/gwtprojsonserializer
0 stars 0 forks source link

Automatic generation of deserialization method issue #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Create a model object (that implements JsonSerializable) with a
Character field
2. Compile GWT project with gwtprojsonserializer library linked.

What is the expected output? What do you see instead?

Compilation generates this error:
- Errors in
'generated://1E11361B41DF276C60956B60C54372D7/com/kfuntak/gwt/json/serialization
/client/Serializer_TypeSerializer.java'
- The method setFoo(Character) in the type Bar is not applicable for the
arguments (Short)"

What version of the product are you using? On what operating system?

Last Version of gwtprojsonserializer.

Please provide any additional information below.

Compilation works modifying "DeserializerHelper.getShort" with
"DeserializerHelper.getChar" when fields are java.lang.Character in
SerializationGenerator class.

Original issue reported on code.google.com by aggs...@gmail.com on 23 Apr 2010 at 3:38

GoogleCodeExporter commented 9 years ago
Please try version 1.0.2

Original comment by goo...@alishomepage.com on 17 Oct 2010 at 5:37

GoogleCodeExporter commented 9 years ago
The change for this is done now.

Original comment by bhea...@gmail.com on 7 Feb 2012 at 5:35