Skip to content

Commit 48efdd7

Browse files
lxyzxxxinyu.lin
andauthored
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: #4272 (comment) --------- Co-authored-by: xinyu.lin <xinyu.lin@transwarp.io>
1 parent 257e3a2 commit 48efdd7

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

java/pom.xml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,14 @@
9696
</distributionManagement>
9797

9898
<properties>
99-
<dep.arrow.version>18.3.0</dep.arrow.version>
99+
<dep.arrow.version>19.0.0</dep.arrow.version>
100100
<dep.org.checkerframework.version>4.0.0</dep.org.checkerframework.version>
101101
<!-- org.apache:apache overrides -->
102102
<minimalJavaBuildVersion>11</minimalJavaBuildVersion>
103103
<maven.compiler.release>11</maven.compiler.release>
104104
<maven.compiler.target>11</maven.compiler.target>
105105
<surefire.version>3.5.2</surefire.version>
106+
<surefireArgLine></surefireArgLine>
106107
<version.maven-javadoc-plugin>3.11.1</version.maven-javadoc-plugin>
107108
</properties>
108109

@@ -198,7 +199,7 @@
198199
<groupId>org.apache.maven.plugins</groupId>
199200
<artifactId>maven-surefire-plugin</artifactId>
200201
<configuration>
201-
<argLine>--add-opens=java.base/java.nio=ALL-UNNAMED</argLine>
202+
<argLine>${surefireArgLine} --add-opens=java.base/java.nio=ALL-UNNAMED</argLine>
202203
</configuration>
203204
</plugin>
204205

@@ -277,6 +278,15 @@
277278
</reporting>
278279

279280
<profiles>
281+
<profile>
282+
<id>java-25+</id>
283+
<activation>
284+
<jdk>[25,)</jdk>
285+
</activation>
286+
<properties>
287+
<surefireArgLine>--sun-misc-unsafe-memory-access=allow</surefireArgLine>
288+
</properties>
289+
</profile>
280290
<profile>
281291
<id>errorprone</id>
282292
<build>

0 commit comments

Comments
 (0)