Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.2.5.RELEASE
-
None
-
None
Description
At some point, the dbre process started using Calendar rather than Date for my the date fields in db tables. That's great, but the old version of flexjson appears to have problems with Calendar. With the stock version of 2.1, an autogenerated roo json controller trying to serialize an entity with a Calendar field gets the following error:
Caused by: java.lang.IllegalAccessException: Class flexjson.BeanProperty can not access a member of class sun.util.calendar.CalendarDate with modifiers "private"
Upgrading to the most recent version of flexjson, 3.2, solved it for me-