Skip to content

Fix nativeTest under GraalVM Native Image with clickhouse-server 25.12#37440

Merged
terrymanu merged 1 commit intoapache:masterfrom
linghengqian:clickhouse-v2512
Dec 20, 2025
Merged

Fix nativeTest under GraalVM Native Image with clickhouse-server 25.12#37440
terrymanu merged 1 commit intoapache:masterfrom
linghengqian:clickhouse-v2512

Conversation

@linghengqian
Copy link
Member

@linghengqian linghengqian commented Dec 19, 2025

Fixes #37406 .

Changes proposed in this pull request:

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::staticFieldBase has been called by com.google.inject.internal.aop.HiddenClassDefiner (file:/home/runner/.m2/wrapper/dists/apache-maven-3.9.11/a2d47e15/lib/guice-5.1.0-classes.jar)
WARNING: Please consider reporting this to the maintainers of class com.google.inject.internal.aop.HiddenClassDefiner
WARNING: sun.misc.Unsafe::staticFieldBase will be removed in a future release

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by lombok.permit.Permit
WARNING: Please consider reporting this to the maintainers of class lombok.permit.Permit
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release

[INFO] [graalvm reachability metadata repository for net.java.dev.jna:jna:5.17.0]: Configuration directory not found. Trying latest version.
[INFO] [graalvm reachability metadata repository for net.java.dev.jna:jna:5.17.0]: Configuration directory is net.java.dev.jna/jna/5.8.0

Before committing this PR, I'm sure that I have checked the following options:

  • My code follows the code of conduct of this project.
  • I have self-reviewed the commit code.
  • I have (or in comment I request) added corresponding labels for the pull request.
  • I have passed maven check locally : ./mvnw clean install -B -T1C -Dmaven.javadoc.skip -Dmaven.jacoco.skip -e.
  • I have made corresponding changes to the documentation.
  • I have added corresponding unit tests for my changes.
  • I have updated the Release Notes of the current development version. For more details, see Update Release Note

Copy link

Copilot AI left a comment

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 fixes native test execution under GraalVM Native Image by upgrading to ClickHouse server version 25.12, and addresses edge cases with GraalVM CE for JDK 24 by bumping several dependencies and the Maven wrapper.

  • Updates ClickHouse server from 25.10.3.100 to 25.12.1.649 and ClickHouse JDBC driver from 0.9.4 to 0.9.5
  • Updates Lombok from 1.18.38 to 1.18.42 and Firebird JDBC driver (Jaybird) from 5.0.6.java8 to 5.0.10.java8
  • Upgrades Maven wrapper from 3.3.2 to 3.3.4 and Maven from 3.9.11 to 3.9.12

Reviewed changes

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

Show a summary per file
File Description
pom.xml Updates version properties for Lombok (1.18.42), ClickHouse JDBC driver (0.9.5), and Jaybird (5.0.10.java8)
test/native/src/test/resources/test-native/yaml/jdbc/databases/clickhouse.yaml Updates ClickHouse server version in test JDBC URLs from 25.10.3.100 to 25.12.1.649
mvnw Updates Maven wrapper shell script to version 3.3.4 with improved directory handling logic
mvnw.cmd Updates Maven wrapper batch script to version 3.3.4 with improved PowerShell directory handling
.mvn/wrapper/maven-wrapper.properties Updates wrapper version to 3.3.4 and Maven distribution to 3.9.12
infra/reachability-metadata/src/main/resources/META-INF/native-image/org.apache.shardingsphere/generated-reachability-metadata/reachability-metadata.json Removes duplicate conditional registration for JDBCBackendDataSource
docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/clickhouse/_index.en.md Updates ClickHouse JDBC driver version reference to 0.9.5 and server version to 25.12.1.649
docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/clickhouse/_index.cn.md Updates ClickHouse JDBC driver version reference to 0.9.5 and server version to 25.12.1.649 (Chinese documentation)
docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/firebird/_index.en.md Updates Jaybird version reference to 5.0.10.java8
docs/document/content/user-manual/shardingsphere-jdbc/optional-plugins/firebird/_index.cn.md Updates Jaybird version reference to 5.0.10.java8 (Chinese documentation)

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

@linghengqian linghengqian added this to the 5.5.3 milestone Dec 19, 2025
@terrymanu terrymanu merged commit 305d288 into apache:master Dec 20, 2025
154 checks passed
@linghengqian linghengqian deleted the clickhouse-v2512 branch December 20, 2025 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bump org.antlr:antlr4-runtime to 4.13.2 to fix integration issues with clickhouse-server 25.10.1+

2 participants