[jira] [Updated] (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:all-tabpanel ] ASF GitHub Bot updated SPARK-42369: --- Labels: pull-request-available (was: ) > 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: Sub-task > Components: Java API >Affects Versions: 3.5.0 >Reporter: Ludovic Henry >Assignee: Ludovic Henry >Priority: Major > Labels: pull-request-available > 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
[jira] [Updated] (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:all-tabpanel ] Dongjoon Hyun updated SPARK-42369: -- Parent: SPARK-43831 Issue Type: Sub-task (was: Improvement) > 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: Sub-task > 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
[jira] [Updated] (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: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