Skip to content

Upgrade to JDK 17#546

Merged
HTHou merged 4 commits into
masterfrom
codex/upgrade-jdk-17
Jun 25, 2026
Merged

Upgrade to JDK 17#546
HTHou merged 4 commits into
masterfrom
codex/upgrade-jdk-17

Conversation

@HTHou

@HTHou HTHou commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Upgrade the Maven compiler configuration from Java 8 to Java 17.
  • Update modules that explicitly overrode compiler source/target settings so they inherit the Java 17 properties.
  • Update GitHub Actions workflows to run on JDK 17, including an explicit setup step for spotless checks.
  • Update README and related documentation to describe Java 17 requirements.

Impact

Builds, release artifacts, and project documentation now target JDK 17 consistently across local Maven builds and CI workflows.

Validation

  • mvn -B test -pl core
  • mvn -B -DskipTests package
  • mvn -B -DskipTests compile -pl core
  • git diff --check

@HTHou HTHou changed the title [codex] Upgrade to JDK 17 Upgrade to JDK 17 Jun 25, 2026
@HTHou HTHou marked this pull request as ready for review June 25, 2026 01:48
@CritasWang

Copy link
Copy Markdown
Collaborator

Update the readme?

@HTHou

HTHou commented Jun 25, 2026

Copy link
Copy Markdown
Contributor Author

Update the readme?

Fixed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades the project’s Java toolchain from Java 8 to Java 17 across Maven build configuration, CI workflows, and user/developer documentation to ensure a consistent JDK baseline for local builds and GitHub Actions.

Changes:

  • Updated root and selected module POMs to compile with Java 17 (and modernized the Maven compiler plugin version).
  • Updated GitHub Actions workflows to run checks/builds on JDK 17 (including an explicit JDK setup step for Spotless).
  • Updated README/docs across modules to reflect the Java 17 requirement.

Reviewed changes

Copilot reviewed 28 out of 28 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
victoriametrics/README.md Updates prerequisite Java version to 17.
verification/pom.xml Switches compiler source/target to inherit Java 17 properties.
timescaledb/README.md Updates prerequisite Java version to 17.
timescaledb-cluster/README.md Updates prerequisite Java version to 17.
tdengine/README.md Updates prerequisite Java version to 17.
tdengine-3.0/README.md Updates prerequisite Java version to 17.
sqlite/README.md Updates prerequisite Java version to 17.
sqlite/pom.xml Switches compiler source/target to inherit Java 17 properties.
README.md Updates Java badge and prerequisites to Java 17.
README-cn.md Updates Java badge and prerequisites to Java 17 (Chinese README).
questdb/README.md Updates prerequisite Java version to 17.
pom.xml Sets Java compilation properties to 17 and updates maven-compiler-plugin version/config.
opentsdb/README.md Updates prerequisite Java version to 17.
mssqlserver/README.md Updates prerequisite Java version to 17.
mssqlserver/pom.xml Switches compiler source/target to inherit Java 17 properties.
kairosdb/README.md Updates prerequisite Java version to 17.
influxdb/README.md Updates prerequisite Java version to 17.
docs/DifferentTestModeConfig.md Updates Java badge to 17.
docs/DifferentTestModeConfig-cn.md Updates Java badge to 17 (Chinese doc).
docs/DeveloperGuide.md Updates prerequisite Java version to 17.
docs/DeveloperGuide-cn.md Updates prerequisite Java version to 17 (Chinese guide).
cnosdb/README.md Updates prerequisite Java version to 17.
cnosdb/pom.xml Updates compiler plugin configuration to use Java 17 properties.
CLAUDE.md Updates documented CI/tooling baseline and Java source level to 17.
.github/workflows/spotless.yml Ensures Spotless check runs with an explicit JDK 17 setup step.
.github/workflows/release_history_commit.yml Updates build matrix to Java 17.
.github/workflows/main.yml Updates build matrix to Java 17.
.github/workflows/core-test.yml Updates core unit test workflow to run on Java 17.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread cnosdb/pom.xml Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 28 out of 28 changed files in this pull request and generated 2 comments.

Comment thread mssqlserver/pom.xml
Comment thread cnosdb/pom.xml Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 28 out of 28 changed files in this pull request and generated no new comments.

@HTHou HTHou merged commit 1f2d2e3 into master Jun 25, 2026
3 checks passed
@HTHou HTHou deleted the codex/upgrade-jdk-17 branch June 25, 2026 09:07
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.

3 participants