Fix JDK18 declaration in CI pipeline
Fix JDK18 declaration in CI pipeline

See gh-27607

spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework