[
https://issues.apache.org/jira/browse/JCLOUDS-974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14643939#comment-14643939
]
Ignasi Barrera commented on JCLOUDS-974:
----------------------------------------
Just FTR, there are the release notes for Gson 2.3.1, to be taken into account
when backporting to 1.9.x:
{quote}
* Added support to serialize objects with self-referential fields. The
self-referential field is set to null in JSON. Previous version of Gson threw a
StackOverflowException on encountering any self-referential fields.
* The most visible impact of this is that Gson can now serialize Throwable
(Exception and Error)
* Added support for @JsonAdapter annotation on enums which are user defined
types
* Fixed bug in getPath() with array of objects and arrays of arrays
* Other smaller bug fixes
{quote}
> GSON 2.3 pom is buggy, use 2.3.1 instead
> ----------------------------------------
>
> Key: JCLOUDS-974
> URL: https://issues.apache.org/jira/browse/JCLOUDS-974
> Project: jclouds
> Issue Type: Bug
> Affects Versions: 1.9.0
> Reporter: Paul Merlin
>
> Gson pom for 2.3 contains a small mistake that turns into some "syntax error"
> with some maven versions (eg. 3.0.4, 3.2.2, 3.3.3 etc.. which are largely
> used and present amongst builds.a.o slaves).
> See:
> - https://github.com/google/gson/issues/596
> - https://github.com/google/gson/issues/588
> -
> https://github.com/google/gson/commit/6580921f9d6f399a6bc20355d83aea60168d8d5c
> JClouds depends on Gson 2.3, see JCLOUDS-719.
> This is fixed in Gson 2.3.1.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)