[ 
https://issues.apache.org/jira/browse/SPARK-42369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-42369:
------------------------------------

    Assignee:     (was: Apache Spark)

> Fix constructor for java.nio.DirectByteBuffer for Java 21+
> ----------------------------------------------------------
>
>                 Key: SPARK-42369
>                 URL: https://issues.apache.org/jira/browse/SPARK-42369
>             Project: Spark
>          Issue Type: Bug
>          Components: Java API
>    Affects Versions: 3.5.0
>            Reporter: Ludovic Henry
>            Priority: Major
>
> In the latest JDK, the constructor {{DirectByteBuffer(long, int)}} was 
> replaced with {{{}DirectByteBuffer(long, long){}}}. We just want to support 
> both by probing for the legacy one first and falling back to the newer one 
> second.
> This change is completely transparent for the end-user, and makes sure Spark 
> works transparently on the latest JDK as well.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to