dongjoon-hyun commented on code in PR #43059: URL: https://github.com/apache/spark/pull/43059#discussion_r1334634163
########## core/src/test/scala/org/apache/spark/benchmark/BenchmarkBase.scala: ########## @@ -51,7 +51,7 @@ abstract class BenchmarkBase { val regenerateBenchmarkFiles: Boolean = System.getenv("SPARK_GENERATE_BENCHMARK_FILES") == "1" if (regenerateBenchmarkFiles) { val version = System.getProperty("java.version").split("\\D+")(0).toInt - val jdkString = if (version > 8) s"-jdk$version" else "" + val jdkString = if (version > 17) s"-jdk$version" else "" Review Comment: Yes in both ways, - Maven build will prevent it explicitly. - SBT also seems to hit compilation failure due to `-target:17`. -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org