luhenry commented on a change in pull request #30810:
URL: https://github.com/apache/spark/pull/30810#discussion_r546452130



##########
File path: project/SparkBuild.scala
##########
@@ -415,6 +415,11 @@ object SparkBuild extends PomBuild {
     outputStrategy in run := Some (StdoutOutput),
 
     javaOptions += "-Xmx2g",
+    javaOptions += {
+      val versionParts = System.getProperty("java.version").split("[+.\\-]+", 
3)
+      var major = versionParts(0).toInt
+      if (major >= 16) "--add-modules=jdk.incubator.vector" else ""

Review comment:
       No, it doesn't yet and it's unlikely to happen before Project Valhalla 
(inline/value types) is going to land into JDK mainline.




----------------------------------------------------------------
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.

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