[ https://issues.apache.org/jira/browse/SPARK-42369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun updated SPARK-42369: ---------------------------------- Issue Type: Improvement (was: Bug) > 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: Improvement > Components: Java API > Affects Versions: 3.5.0 > Reporter: Ludovic Henry > Assignee: Ludovic Henry > Priority: Major > Fix For: 3.5.0 > > > 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