Skip to content

Drop support for Java 8, make Java 11 the minimum#878

Merged
jupblb merged 3 commits into
mainfrom
michal/java-8
May 11, 2026
Merged

Drop support for Java 8, make Java 11 the minimum#878
jupblb merged 3 commits into
mainfrom
michal/java-8

Conversation

@jupblb
Copy link
Copy Markdown
Member

@jupblb jupblb commented May 11, 2026

We are about to merge scip-kotlin into scip-java. Newer Kotlin versions require JDK to be at least at version 11.

We understand that Java 8 is still supported. If this change affects you please send us an email or drop a message in the SCIP Discord.

Test plan

N/A

jupblb added 2 commits May 11, 2026 12:47
- Remove javaToolchainVersion := "8" from all sbt projects
- Remove minimized8 test project and tests/minimized/.j8 directory
- Switch javac options from "-source/-target 1.8 -bootclasspath rt.jar"
  to "--release 11" in JavaToolchainPlugin
- Drop Java 8 specific code from JavaVersion (isJava8, JAVA8_VERSION,
  1.8 parsing) and PackageTable (indexBootstrapClasspath); default
  Java version is now 11
- Remove Java 8 special cases from GradleJavaCompiler (jre/lib copy)
  and ScipBuildTool (M1 amd64 hack and javac module options conditional)
- Remove Java8Only test tag and the playframework/checkerframework
  Java 8 tests; bump JVMSupport minimum to 11; allJava is now [11,17,21]
- Bump CI matrices and release workflows from Java 8 to Java 11
- Drop Java 8 from docker-setup.sh pre-install list
- Bump example pom.xml and Maven plugin template to Java 11
- Update docs to reflect Java 11 as the minimum supported version
@jupblb jupblb marked this pull request as ready for review May 11, 2026 10:57
@jupblb jupblb merged commit 3129891 into main May 11, 2026
11 checks passed
@jupblb jupblb deleted the michal/java-8 branch May 11, 2026 14:52
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