You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2023/02/07 08:20:00 UTC

[jira] [Commented] (SPARK-42369) Fix constructor for java.nio.DirectByteBuffer for Java 21+

    [ https://issues.apache.org/jira/browse/SPARK-42369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17685132#comment-17685132 ] 

Apache Spark commented on SPARK-42369:
--------------------------------------

User 'luhenry' has created a pull request for this issue:
https://github.com/apache/spark/pull/39909

> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org