== Class-file version of ExtendWith.class (major 52 = Java 8, 61 = Java 17) junit-jupiter-api 5.14.4: major version: 52 junit-jupiter-api 6.1.3: major version: 61 == ExtensionContext.Store: getOrComputeIfAbsent and computeIfAbsent -- junit-jupiter-api 5.14.4 public default V getOrComputeIfAbsent(java.lang.Class); public abstract java.lang.Object getOrComputeIfAbsent(K, java.util.function.Function); public abstract V getOrComputeIfAbsent(K, java.util.function.Function, java.lang.Class); -- junit-jupiter-api 6.1.3 public default V getOrComputeIfAbsent(java.lang.Class); public default V computeIfAbsent(java.lang.Class); public abstract java.lang.Object getOrComputeIfAbsent(K, java.util.function.Function); public abstract java.lang.Object computeIfAbsent(K, java.util.function.Function); public abstract V getOrComputeIfAbsent(K, java.util.function.Function, java.lang.Class); public abstract V computeIfAbsent(K, java.util.function.Function, java.lang.Class); == InvocationInterceptor.interceptDynamicTest -- junit-jupiter-api 5.14.4 public default void interceptDynamicTest(InvocationInterceptor$Invocation, ExtensionContext); public default void interceptDynamicTest(InvocationInterceptor$Invocation, DynamicTestInvocationContext, ExtensionContext); -- junit-jupiter-api 6.1.3 public default void interceptDynamicTest(InvocationInterceptor$Invocation, DynamicTestInvocationContext, ExtensionContext); == A Store call compiled with -Xlint:deprecation (StoreProbe.java) -- against JUnit 5.14.4 javac exit status: 0 -- against JUnit 6.1.3 StoreProbe.java:5: warning: [deprecation] getOrComputeIfAbsent(K,Function) in Store has been deprecated return store.getOrComputeIfAbsent("k", k -> "v"); ^ where K,V are type-variables: K extends Object declared in method getOrComputeIfAbsent(K,Function) V extends Object declared in method getOrComputeIfAbsent(K,Function) 1 warning javac exit status: 0 -- the 6.x replacement computeIfAbsent (ComputeProbe.java) against JUnit 5.14.4: javac exit status 1 target/probe/src/ComputeProbe.java:5: error: cannot find symbol return store.computeIfAbsent("k", k -> "v"); ^ against JUnit 6.1.3: javac exit status 0 == The module's extensions (src/test/java/.../ext) compiled unchanged with --release 17 JUnit 5.14.4: 14 class files, javac exit status 0 JUnit 6.1.3: 14 class files, javac exit status 0