dongjoon-hyun commented on PR #51951:
URL: https://github.com/apache/spark/pull/51951#issuecomment-3171126206

   Oh, it's tricky because we need Java 17 and Java 21 distribution separately. 
Let me close this for now.
   
   > This release leverages the new Java Foreign Function & Memory (FFM) API 
capability ([JEP 412](https://openjdk.org/jeps/412)), which is in incubation in 
Java 17. This means that Java 17 is required to compile this code and at 
runtime. The location of the FFM code was moved from jdk.incubator.foreign in 
Java 17 to its position for preview in Java 21 at java.base/java.lang.foreign. 
As a result, code compiled with Java 17 FFM will not run with Java 21, the next 
LTS. Java does not provide backward compatibility for older incubation code.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to