My question is whether bug fixes to "spring" will also find their way to "spring for android?"
In particular, I see a couple issues relating to the serializability of HttpStatusCodeException:
SPR-9370 https://jira.springsource.org/browse/SPR-9370
SPR-9273 https://jira.springsource.org/browse/SPR-9273
I'm confused about how these relate to the android library. I'm using spring-android-rest-template version 1.0.1.RELEASE (the latest I can see in the repository), which postdates the resolution dates on these two issues. I see that the android maven artifact is distributed with an HttpStatusCodeException, and looking at the source code, I see on line 35 of HttpStatusCodeException.java there is a Charset member, which the issue reports say are the cause of the problem.
Further adding to my confusion are the version numbers in the reports. They both say that version 3.1.1 is affected, but how does that relate to 1.0.1.RELEASE of the android artifact? One of them says that version 3.2M1 is fixed, but again how does that relate to the android version numbers?
I am getting a NotSerializableException trying to serialize an HttpStatusCodeException. That and seeing the Charset member in the source code of HttpStatusCodeException is making me think that the android version did not get the fix that the main version got, or something like that.
Can anyone clear this up for me? Is this fix in the pipeline for android users? Should I be using another version?
Thanks very much.
--
Adam Mackler


Reply With Quote