XStream

@XStreamConverter only takes implementations of Converter; should support SingleValueConverters too

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.3
  • Fix Version/s: 1.3.1
  • Component/s: Annotations
  • Labels:
    None
  • JDK version and platform:
    any

Description

@XStreamConverter does not recognize SingleValueConverter implementations.

The annotation code looks for Class<? extends Converter> classes, but it should use Class<? extends ConverterMatcher> so that both Converter and SingleValueConverter implementations can be used.

Issue Links

Activity

Hide
Patrick Dumontel added a comment -

Also, AnnotationMapper.processConverterAnnotations should be changed to ConverterMatcher.

Show
Patrick Dumontel added a comment - Also, AnnotationMapper.processConverterAnnotations should be changed to ConverterMatcher.
Hide
Joerg Schaible added a comment -

@XStreamConverter supports now also SingleValueConverter implementations in the head revision.

Show
Joerg Schaible added a comment - @XStreamConverter supports now also SingleValueConverter implementations in the head revision.
Hide
Joerg Schaible added a comment -

Set correct fix version.

Show
Joerg Schaible added a comment - Set correct fix version.
Hide
Joerg Schaible added a comment -

Fixed for upcoming release.

Show
Joerg Schaible added a comment - Fixed for upcoming release.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: