Details
-
Type: Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.2
-
Component/s: None
-
Labels:None
Description
XStream does not ensure, that the object returned by a converter is of the appropriate type. It happily sets the field to any object returned by a converter, regardless of the field's type. Reported by Joe Wolf: http://thread.gmane.org/gmane.comp.java.xstream.user/1577
Joe Wolf, can you test this? The latest version in the repository will detect now such a situation and throw a ConversionException.