Skip to content

Revert "chore(deps): update junit-framework monorepo to v6 (#370)" - #395

Closed
algomaster99 wants to merge 1 commit into
mainfrom
revert/junit-6
Closed

algomaster99 wants to merge 1 commit into
mainfrom
revert/junit-6

Conversation

@algomaster99

Copy link
Copy Markdown
Member

Reverts #370 (JUnit 6.1.3 → 5.14.2).

JUnit 6 requires Java 17 at runtime, but tests-on-11 builds with JDK 21 and then runs mvn surefire:test on JDK 11. With JUnit 6 on the classpath, surefire fails before any test runs:

java.lang.UnsupportedClassVersionError: org/junit/platform/launcher/TagFilter has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0

This went unnoticed because CI on main has been failing with startup_failure (unpinned actions, fixed in #394).

Follow-up: add a Renovate rule to keep org.junit on 5.x while Java 11 is supported, otherwise Renovate will reopen the v6 bump.

🤖 Generated with Claude Code

JUnit 6 requires Java 17 at runtime, which breaks the tests-on-11 job
(UnsupportedClassVersionError on org.junit.platform.launcher.TagFilter).

This reverts commit 2a80838.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@algomaster99
algomaster99 deleted the revert/junit-6 branch September 29, 2026 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant