Re: [Simple-support] Deserialization of type Calendar?
Brought to you by:
niallg
|
From: Timo R. <cr...@ol...> - 2008-10-01 22:01:59
|
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 |