Files
spring-projects-spring-fram…/spring-context/src/test/java/org/springframework
Sam Brannen e489706f13 Ensure @DateTimeFormat tests pass on Java 9+
Prior to this commit, two tests for exception handling regarding
@DateTimeFormat processing only passed on Java 8. This is due to the
fact that the toString() implementation for annotations changed in Java
9. Specifically, the representation for arrays changed from [] to {},
and strings are enclosed in double quotes beginning with Java 9.

This commit ensures that the affected @DateTimeFormat tests pass on
Java 9+, by making the assertions more lenient regarding toString()
output for annotations.

See gh-26777
See gh-26804
2021-04-18 15:48:00 +02:00
..
2020-12-07 22:08:01 +01:00
2020-07-17 17:52:08 +02:00
2020-05-12 14:19:16 +02:00
2020-09-25 13:43:38 +02:00
2019-10-31 14:34:57 +01:00