davisusanibar commented on code in PR #35940:
URL: https://github.com/apache/arrow/pull/35940#discussion_r1219902734


##########
dev/release/verify-release-candidate.sh:
##########
@@ -563,7 +563,10 @@ test_package_java() {
   show_header "Build and test Java libraries"
 
   # Build and test Java (Requires newer Maven -- I used 3.3.9)
-  maybe_setup_conda maven || exit 1
+  # Pin OpenJDK 17 since OpenJDK 20 is incompatible with our versions
+  # of things like Mockito, and we also can't update Mockito due to
+  # not supporting Java 8 anymore
+  maybe_setup_conda maven openjdk=17.0.3 || exit 1

Review Comment:
   Won't be also needed to verify also with JDK 8, 11 and 18?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to