Upgrade to newer version of gson?

2014-01-03 Thread Edison Su
Hit a bug in gson:
https://groups.google.com/forum/#!msg/google-gson/3OdgAAUOi3c/UMTmNt1XnG0J
https://issues.apache.org/jira/browse/CLOUDSTACK-5573
It's fixed since gson-2.0. Should we upgrade to gson-2.x?


RE: Upgrade to newer version of gson?

2014-01-03 Thread Edison Su
Oh, a minor upgrade should be enough: 
https://code.google.com/p/google-gson/issues/detail?id=354
Just need to bump up to 1.7.2.

> -Original Message-
> From: Edison Su [mailto:edison...@citrix.com]
> Sent: Friday, January 03, 2014 5:48 PM
> To: dev@cloudstack.apache.org
> Cc: Alex Huang; Darren Shepherd
> Subject: Upgrade to newer version of gson?
> 
> Hit a bug in gson:
> https://groups.google.com/forum/#!msg/google-
> gson/3OdgAAUOi3c/UMTmNt1XnG0J
> https://issues.apache.org/jira/browse/CLOUDSTACK-5573
> It's fixed since gson-2.0. Should we upgrade to gson-2.x?


RE: Upgrade to newer version of gson?

2014-01-03 Thread Alex Huang
I tried to bump up to a later version before.  Had horrible trouble with it.  
It was a problem with in how the API was using gson to render.  I forget 
whether this is the version I attempted.

--Alex

> -Original Message-
> From: Edison Su
> Sent: Friday, January 3, 2014 5:53 PM
> To: dev@cloudstack.apache.org
> Cc: Alex Huang; Darren Shepherd
> Subject: RE: Upgrade to newer version of gson?
> 
> Oh, a minor upgrade should be enough:
> https://code.google.com/p/google-gson/issues/detail?id=354
> Just need to bump up to 1.7.2.
> 
> > -Original Message-
> > From: Edison Su [mailto:edison...@citrix.com]
> > Sent: Friday, January 03, 2014 5:48 PM
> > To: dev@cloudstack.apache.org
> > Cc: Alex Huang; Darren Shepherd
> > Subject: Upgrade to newer version of gson?
> >
> > Hit a bug in gson:
> > https://groups.google.com/forum/#!msg/google-
> > gson/3OdgAAUOi3c/UMTmNt1XnG0J
> > https://issues.apache.org/jira/browse/CLOUDSTACK-5573
> > It's fixed since gson-2.0. Should we upgrade to gson-2.x?


Re: Upgrade to newer version of gson?

2014-01-04 Thread Darren Shepherd
If you stay with the 1.x it should be safe.

Darren

> On Jan 3, 2014, at 6:56 PM, "Alex Huang"  wrote:
> 
> I tried to bump up to a later version before.  Had horrible trouble with it.  
> It was a problem with in how the API was using gson to render.  I forget 
> whether this is the version I attempted.
> 
> --Alex
> 
>> -Original Message-
>> From: Edison Su
>> Sent: Friday, January 3, 2014 5:53 PM
>> To: dev@cloudstack.apache.org
>> Cc: Alex Huang; Darren Shepherd
>> Subject: RE: Upgrade to newer version of gson?
>> 
>> Oh, a minor upgrade should be enough:
>> https://code.google.com/p/google-gson/issues/detail?id=354
>> Just need to bump up to 1.7.2.
>> 
>>> -Original Message-
>>> From: Edison Su [mailto:edison...@citrix.com]
>>> Sent: Friday, January 03, 2014 5:48 PM
>>> To: dev@cloudstack.apache.org
>>> Cc: Alex Huang; Darren Shepherd
>>> Subject: Upgrade to newer version of gson?
>>> 
>>> Hit a bug in gson:
>>> https://groups.google.com/forum/#!msg/google-
>>> gson/3OdgAAUOi3c/UMTmNt1XnG0J
>>> https://issues.apache.org/jira/browse/CLOUDSTACK-5573
>>> It's fixed since gson-2.0. Should we upgrade to gson-2.x?