SPR-8718 Prevent Converter<?,?> from converting target sub-type.

This commit is contained in:
Rossen Stoyanchev
2011-10-06 14:17:12 +00:00
parent dfda4c32d5
commit 00a726b098
2 changed files with 11 additions and 2 deletions

View File

@@ -210,7 +210,6 @@ public class GenericConversionServiceTests {
// SPR-8718
@Test(expected=ConverterNotFoundException.class)
@Ignore("TODO")
public void convertSuperTarget() {
conversionService.addConverter(new ColorConverter());
conversionService.convert("#000000", SystemColor.class);