David Dali Susanibar Arce created ARROW-16292:
-------------------------------------------------
Summary: [Java][Doc]: Upgrade java documentation for JSE17
Key: ARROW-16292
URL: https://issues.apache.org/jira/browse/ARROW-16292
Project: Apache Arrow
Issue Type: Sub-task
Components: Documentation, Java
Affects Versions: 9.0.0
Reporter: David Dali Susanibar Arce
Assignee: David Dali Susanibar Arce
Document changes needed to support JSE17:
# Changed for arrow side: Changes related to {{--add-exports"}} are needed to
continue supporting erroProne base on JSE11+ [installation
doc|https://errorprone.info/docs/installation]. 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+ ....)
# 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
https://github.com/apache/arrow/pull/12941#pullrequestreview-950090643
--
This message was sent by Atlassian Jira
(v8.20.7#820007)