From fba019a22f6b22cc658f41ea5ec8073f04d2e3d5 Mon Sep 17 00:00:00 2001 From: Ashley Scopes <73482956+ascopes@users.noreply.github.com> Date: Sat, 4 Oct 2025 13:30:53 +0100 Subject: [PATCH 1/3] GH-846: Major version bump for Junit6 integration --- java-compiler-testing/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-compiler-testing/pom.xml b/java-compiler-testing/pom.xml index b22d73f1..ac97ddd1 100644 --- a/java-compiler-testing/pom.xml +++ b/java-compiler-testing/pom.xml @@ -22,7 +22,7 @@ io.github.ascopes.jct java-compiler-testing-parent - 5.0.5-SNAPSHOT + 6.0.0-SNAPSHOT ../pom.xml diff --git a/pom.xml b/pom.xml index 3030359c..f0b6039c 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ io.github.ascopes.jct java-compiler-testing-parent - 5.0.5-SNAPSHOT + 6.0.0-SNAPSHOT pom Java Compiler Testing parent project From 6f76b016190187a655b6944adde7dce6a07774a2 Mon Sep 17 00:00:00 2001 From: Ashley Scopes <73482956+ascopes@users.noreply.github.com> Date: Sat, 4 Oct 2025 13:32:24 +0100 Subject: [PATCH 2/3] GH-846: Update security policy --- SECURITY.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SECURITY.md b/SECURITY.md index 9c1ddf7f..a45b6faa 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -7,9 +7,9 @@ significant impact. However, should an issue be identified, I will strive to fix these issues as soon as possible. Fixes will be released as a new version, built from the most -recent `main` branch for Java 17, and from the `v4` branch for -Java 11 backwards compatibility. Unless expressly requested, -no attempt to backport changes will be made. +recent `main` branch for Java 17. Support will not automatically +be provided for v5 or v4 versions of the library, but can be +requested if necessary via an issue. Given this library is designed for use in test packs, the main design assumption is that the software is being used by a From 79a0590e9b108e52b4d2e4e805fe066d3c3f139d Mon Sep 17 00:00:00 2001 From: Ashley Scopes <73482956+ascopes@users.noreply.github.com> Date: Sat, 4 Oct 2025 13:38:06 +0100 Subject: [PATCH 3/3] GH-846: Use junit6 instead of junit5 --- .../jct/assertions/AbstractContainerGroupAssertTest.java | 2 +- .../io/github/ascopes/jct/utils/SpecialLocationsUtilsTest.java | 1 - pom.xml | 3 +-- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/assertions/AbstractContainerGroupAssertTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/assertions/AbstractContainerGroupAssertTest.java index 01a6c9fc..9c37985a 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/assertions/AbstractContainerGroupAssertTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/assertions/AbstractContainerGroupAssertTest.java @@ -25,7 +25,6 @@ import static org.mockito.Mockito.when; import io.github.ascopes.jct.containers.ContainerGroup; -import java.util.List; import java.util.ServiceLoader; import java.util.stream.Stream; import org.assertj.core.api.AbstractListAssert; @@ -164,6 +163,7 @@ public T get() { } @Override + @SuppressWarnings("unchecked") public Class type() { return (Class) service.getClass(); } diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/utils/SpecialLocationsUtilsTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/utils/SpecialLocationsUtilsTest.java index cf00c655..e7521284 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/utils/SpecialLocationsUtilsTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/utils/SpecialLocationsUtilsTest.java @@ -76,7 +76,6 @@ public Class getTypeBeingTested() { } @DisplayName("javaRuntimeLocations() returns the JRT location") - @EnabledForJreRange(min = JRE.JAVA_9, disabledReason = "unavailable without JPMS") @Test void javaRuntimeLocationsReturnsTheJrtLocation() { // When diff --git a/pom.xml b/pom.xml index f0b6039c..32e13faf 100644 --- a/pom.xml +++ b/pom.xml @@ -93,7 +93,7 @@ 4.3.0 1.4.0 1.0.0 - 5.13.4 + 6.0.0 2.8.1 5.20.0 2.0.17 @@ -379,7 +379,6 @@ © ${project.inceptionYear} - ${current-year}, Ashley Scopes -- Apache License V2 - 0.0.1 false