davisusanibar commented on PR #12941: URL: https://github.com/apache/arrow/pull/12941#issuecomment-1112270441
> Hi @davisusanibar I have created this draft PR to add Java 17 to CI (#13021). As you can see from the triggered jobs, there is a new Java job:  It is obviously failing (https://github.com/apache/arrow/runs/6208174355?check_suite_focus=true) because the fixes for Java 17 are on your PR but I have cherry-picked the commit locally on top of your branch and I have validated the build is working and tests are passing. Tested locally with: > > ``` > $ JDK=17 MAVEN=3.8.5 JDK_NAME=openjdk docker-compose run --rm debian-java > ``` > > I have validated java version was the correct when testing: > > ``` > bash-4.4# java --version > openjdk 17.0.2 2022-01-18 > OpenJDK Runtime Environment (build 17.0.2+8-86) > OpenJDK 64-Bit Server VM (build 17.0.2+8-86, mixed mode, sharing) > bash-4.4# exit > ``` > > I am not sure how we do this but probably you might want to cherrypick my commit and apply it on your PR. Thanks @raulcd. Let me solve pending comments. Consider: in my local test was needed to add this environment variable `"--add-opens=java.base/java.nio=ALL-UNNAMED"`, but as suggested let merge this and test your changes them. -- 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]
