We have some tests that are only enabled on certain JREs. As part of raising the Java baseline to 17, many (if not all) of them became redundant. We should review where they're used and remove them as appropriate.
Comment From: wilkinsona
There is also some usage in earlier branches that can be removed. For example, changelogSql
in LiquibaseAutoConfigurationTests
which appears to now pass on all supported JREs.
Comment From: wilkinsona
It'll be easier to tackle the main-specific parts of this once JavaVersion
supports Java 18. Without it, testing things like @ConditionalOnJava
is limited as we only support a single JRE.