mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-25 10:59:03 +00:00
Added a new @ConditionalOnJava annotation that allows to conditionally enable configuration based on the Java version that is running. The annotation currently supports two modes of restricting Java versions: the default mode checks for a Java version equal or better than the requested one. Beyond that it can be configured to only match if Java version is older than the configured one.