Affects Version/s: 1.3.1
Fix Version/s: None
ReflectionConverter honors local converters added with XStream.registerLocalConverter() as expected. JavaBeanConverter, however, seems to completely ignore local converters.
In JavaBeanConverter.marshall() the line:
needs to be replace with:
context.convertAnother(newObj, mapper.getLocalConverter(definedIn, propertyName));
The opposite mapping needs to occur in unmarshall.
Note that I could not fix this by overriding JavaBeanConverter.marshall() due to it using the BeanProvider.Visitor() interface, which is not publicly accessible.