mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-18 00:49:02 +00:00
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.