6.0.2
JUnit 6.0.2
Changed 1
- Change API status of recommended method in ArgumentsProvider as well as ParameterDeclaration(s) as "maintained" rather than "experimental"
Fixed 3
- Make ConsoleLauncher compatible with JDK 26 by avoiding final field mutations
- Enable recursive updates when using NamespacedHierarchicalStore.computeIfAbsent(N, K, Function)
- Allow using @ResourceLock on classes annotated with @ClassTemplate or @ParameterizedClass
Date of Release: January 6, 2026 Scope: Bug fixes and enhancements since 6.0.1 For a complete list of all closed issues and pull requests for this release, consult the 6.0.2 milestone page in the JUnit repository on GitHub.
JUnit Platform
Bug Fixes
- Make ConsoleLauncher compatible with JDK 26 by avoiding final field mutations.
- Enable recursive updates when using NamespacedHierarchicalStore.computeIfAbsent(N, K, Function). This provides parity with the deprecated NamespacedHierarchicalStore.getOrComputeIfAbsent(N, K, Function)
JUnit Jupiter
Bug Fixes
- Allow using @ResourceLock on classes annotated with @ClassTemplate (or @ParameterizedClass).
- Change API status of recommended method in ArgumentsProvider as well as ParameterDeclaration(s) as "maintained" rather than "experimental".
JUnit Vintage
No changes.