You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2119e2f
Browse filesBrowse the repository at this point in the historyBrowse files
Run tests that need a newer JDK in classes of their own
Tests that need a newer JDK skipped themselves from inside, in three
ways, and counted as skipped on JDK 21 among the tests that run
(ADR-002). Each now says what it needs on its class:
- ModuleImportTest, and the module-import test of
RemoveUnusedImportsTest moved to RemoveUnusedImportsJava25Test,
carry @EnabledForJreRange(min = JAVA_25), where module imports are
final; they started at JDK 23 before, which CI does not run.
- The ModuleImport pair of FormatterIntegrationTest is a case in
test-cases-java25/, run by FormatterCasesJava25Test, so
VERSIONED_TESTS and assumeJavaVersionForTest go.
- The value-class tests of FormatterTest and ModifierOrdererTest move
to ValueClassTest, enabled where javac has the value modifier: they
need a JDK with Valhalla, not a version.
0 commit comments