This is an automated email from the ASF dual-hosted git repository.

lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git


The following commit(s) were added to refs/heads/main by this push:
     new 48efdd7d5 chore(java): bump to arrow-java 19.0.0 (#4288)
48efdd7d5 is described below

commit 48efdd7d5a9b7f512527e5ac33ec45c985cf86eb
Author: xinyu.lin <[email protected]>
AuthorDate: Fri May 1 14:43:55 2026 +0800

    chore(java): bump to arrow-java 19.0.0 (#4288)
    
    ### Summary
    
    Upgrade the Java modules from Arrow Java 18.3.0 to 19.0.0.
    
    This is intended as a prerequisite for refactoring the Java Flight SQL
    OAuth implementation to reuse the OAuth abstractions added in Arrow Java
    19.0.0.
    
    Follow-up to the discussion in:
    https://github.com/apache/arrow-adbc/pull/4272#discussion_r3168399448
    
    ---------
    
    Co-authored-by: xinyu.lin <[email protected]>
---
 java/pom.xml | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/java/pom.xml b/java/pom.xml
index fdbb08b56..aacfa5eec 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -96,13 +96,14 @@
   </distributionManagement>
 
   <properties>
-    <dep.arrow.version>18.3.0</dep.arrow.version>
+    <dep.arrow.version>19.0.0</dep.arrow.version>
     <dep.org.checkerframework.version>4.0.0</dep.org.checkerframework.version>
     <!-- org.apache:apache overrides -->
     <minimalJavaBuildVersion>11</minimalJavaBuildVersion>
     <maven.compiler.release>11</maven.compiler.release>
     <maven.compiler.target>11</maven.compiler.target>
     <surefire.version>3.5.2</surefire.version>
+    <surefireArgLine></surefireArgLine>
     <version.maven-javadoc-plugin>3.11.1</version.maven-javadoc-plugin>
   </properties>
 
@@ -198,7 +199,7 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
-          <argLine>--add-opens=java.base/java.nio=ALL-UNNAMED</argLine>
+          <argLine>${surefireArgLine} 
--add-opens=java.base/java.nio=ALL-UNNAMED</argLine>
         </configuration>
       </plugin>
 
@@ -277,6 +278,15 @@
   </reporting>
 
   <profiles>
+    <profile>
+      <id>java-25+</id>
+      <activation>
+        <jdk>[25,)</jdk>
+      </activation>
+      <properties>
+        
<surefireArgLine>--sun-misc-unsafe-memory-access=allow</surefireArgLine>
+      </properties>
+    </profile>
     <profile>
       <id>errorprone</id>
       <build>

Reply via email to