Details
-
Type: Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.1
-
Component/s: None
-
Labels:None
Description
The issue XSTR-98 (cannot parse java.sql.Date strings) was stated to be solved in release 1.0.2, and even contains the solution. However, the code is not actually in the CVS codebase!
This was fixed, but in a different way. A new converter for java.sql.Date was added. This has the advantage that it will restore an actual java.sql.Date instance instead of a java.util.Date.
Here's an example:
http://cvs.xstream.codehaus.org/viewrep/xstream/src/test/com/thoughtworks/acceptance/ExtendedTypesTest.java?r=1.12#l45