Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Java][Doc] Upgrade java documentation for JSE17 #31682

Closed
Tracked by #30681
asfimport opened this issue Apr 22, 2022 · 1 comment
Closed
Tracked by #30681

[Java][Doc] Upgrade java documentation for JSE17 #31682

asfimport opened this issue Apr 22, 2022 · 1 comment

Comments

@asfimport
Copy link

Document  changes needed to support JSE17:

  1. Changed for arrow side: Changes related to --add-exports" are needed to continue supporting erroProne base on JSE11+ installation doc. It mean you won't need this changes if you run arrow java building code without errorProne validation (mvn clean install -P-error-prone-jdk11+ ....)

  2. Changes as a user of arrow: If the user are planning to use Arrow with JSE17 is needed to pass modules needed. For example if I run cookbook for IO https://arrow.apache.org/cookbook/java/io.html it finished with an error mention Unable to make field long java.nio.Buffer.address accessible: module java.base does not "opens java.nio" to unnamed module for that reason as a user for JSE17 (not for arrow changes) is needed to add VM arguments as -ea --add-opens=java.base/java.nio=ALL-UNNAMED and it will finished without errors.

     

    This ticket are related with ARROW-15755: [Java] Support Java 17 #12941 (review)

Reporter: David Dali Susanibar Arce / @davisusanibar
Assignee: David Dali Susanibar Arce / @davisusanibar

PRs and other links:

Note: This issue was originally created as ARROW-16292. Please see the migration documentation for further details.

@asfimport
Copy link
Author

David Li / @lidavidm:
Issue resolved by pull request 12990
#12990

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant