I can’t really give a definitive answer without seeing how the serializer/deserializer is implemented, but my initial suspicion is related to field name transformations.
GWT performs quite a bit of renaming and optimization during compilation, and domino-jackson works by mapping the original property string to the renamed field. Since the compiler renames the field consistently everywhere it’s used, the mapping still works.
TeaVM, however, might be doing something different—possibly renaming fields inconsistently between the POJO and the classes that reference it. I’m not familiar enough with TeaVM’s internals to say for sure.
The fact that explicitly specifying the property name in the annotation solves the issue makes the behavior even more puzzling without seeing the relevant code.
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-tool...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/51a1ad21-3ed6-44a7-8cd2-c9040af91266n%40googlegroups.com.