Christoph Strobl opened SPR-11608 and commented
The following conversion works in 4.0.2
but fails in 4.0.3
.
@Test
public void multidimensionalArrayToListConversionShouldConvertEntriesCorrectly() {
String[][] grid = new String[][] { new String[] { "1", "2", "3", "4" }, new String[] { "5", "6", "7", "8" },
new String[] { "9", "10", "11", "12" } };
ConversionService conversionService = ConversionServiceFactory.createDefaultConversionService();
List<String[]> converted = conversionService.convert(grid, List.class);
String[][] convertedBack = conversionService.convert(converted, String[][].class);
Assert.assertArrayEquals(grid, convertedBack);
}
Affects: 4.0.3
Referenced from: commits 5c9fc09, b9bac1d