You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "David Li (Jira)" <ji...@apache.org> on 2022/04/26 12:58:00 UTC
[jira] [Resolved] (ARROW-16292) [Java][Doc]: Upgrade java documentation for JSE17
[ https://issues.apache.org/jira/browse/ARROW-16292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Li resolved ARROW-16292.
------------------------------
Fix Version/s: 9.0.0
Resolution: Fixed
Issue resolved by pull request 12990
[https://github.com/apache/arrow/pull/12990]
> [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
> Priority: Major
> Labels: pull-request-available
> Fix For: 9.0.0
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> 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)