Re: [Simple-support] Deserialization of type Calendar?
Brought to you by:
niallg
|
From: Niall G. <gal...@ya...> - 2008-10-01 22:08:33
|
Hi, For now this change will be compatible with the fix I will make where you see class= with the GregorianCalendar. It should work seamlessly when you upgrade to the next release. Niall --- On Wed, 10/1/08, Timo Rumland <cr...@ol...> wrote: > From: Timo Rumland <cr...@ol...> > Subject: Re: [Simple-support] Deserialization of type Calendar? > To: sim...@li... > Date: Wednesday, October 1, 2008, 2:49 PM > Hello, > > > Yes, this will be fixed very soon in the next version, > it is a bug > > at the moment. Unfortunately it is something I did not > spot until > > recently. > > thanks a lot for your help. I decided to use a patched > version of the > framework to get around this, until you release a fixed > version. > > I edited the file PackageMatcher, which you mentioned > before, and > changed line 182 from > > if(type == GregorianCalendar.class) > > to > > if(type == GregorianCalendar.class || type == > Calendar.class) > > > This seems to work for me. May I just asked for a comment > on the > change, is this a legal workaround (I know I can now only > use > "GregorianCalendar" where I use the > "Calendar" type) or do you see any > other problems that may occur? > > > Thank you! > > > Best regards, > Timo Rumland > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move > Developer's challenge > Build the coolest Linux based applications with Moblin SDK > & win great prizes > Grand prize is a trip for two to an Open Source event > anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Simple-support mailing list > Sim...@li... > https://lists.sourceforge.net/lists/listinfo/simple-support |