apache / apache/arrow-java

[Java] Implement arrow-memory-ffm

Aperta
#163 5 commenti 1 reazione 1 assegnatario Rivendicata da @danepitkin Vedi su GitHub
Lingua principale
Java
Stelle
94
Fork
152
Merge medio
3g 16h
PR unite (30g)
11

Descrizione

### Describe the enhancement requested

Add a memory module that uses the java.lang.foreign module (currently in preview, APIs updated in Java 21).

When using Java 9 or later with the current implementations, some JDK internals must be exposed by adding --add-opens=java.base/java.nio=ALL-UNNAMED to the java command[1]. Here's an article that explains the general Java issue here[2].

Can using java.lang.foreign remove this dependency so users do not have to run with custom options ?

[1]https://arrow.apache.org/docs/java/install.html#java-compatibility
[2]https://community.snowflake.com/s/article/JDBC-Driver-Compatibility-Issue-With-JDK-16-and-Later

### Component(s)

Java

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.