When the fix for https://github.com/oracle/graal/issues/6510 and https://github.com/oracle/graal/issues/6529 will have reached a wide enough audience, we should remove the workaround introduced by https://github.com/spring-projects/spring-framework/issues/30383 and the one inroduced by https://github.com/spring-projects/spring-framework/issues/30407 fix.