diff --git a/org.springframework.context/src/test/java/org/springframework/ui/format/jodatime/JodaTimeFormattingTests.java b/org.springframework.context/src/test/java/org/springframework/ui/format/jodatime/JodaTimeFormattingTests.java index b6651855610aac27d001d37cbdee6a20f3bedacf..504c40a38559fbbd1be5c82296c7e60e35bc4cd8 100644 --- a/org.springframework.context/src/test/java/org/springframework/ui/format/jodatime/JodaTimeFormattingTests.java +++ b/org.springframework.context/src/test/java/org/springframework/ui/format/jodatime/JodaTimeFormattingTests.java @@ -109,6 +109,7 @@ public class JodaTimeFormattingTests { public void testBindDateTime() { MutablePropertyValues propertyValues = new MutablePropertyValues(); propertyValues.addPropertyValue("dateTime", "10/31/09 12:00 PM"); + // this doesn't work because the String->ReadableInstant converter doesn't match due to String->@DateTimeFormat DateTime Matchable taking precedence binder.bind(propertyValues); System.out.println(binder.getBindingResult()); assertEquals(0, binder.getBindingResult().getErrorCount());