mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
423f2215c2
Sometime between JDK 8 and JDK 17, the behavior for List::toArray() changed. Specifically, the type returned for List<String> changed from String[] to Object[]. This commit therefore removes an assertion against this particular JDK-specific behavior. The affected test method retains additional assertions along the same lines but which are not flaky.