Fokko commented on code in PR #13381:
URL: https://github.com/apache/iceberg/pull/13381#discussion_r2166216047


##########
spark/v4.0/build.gradle:
##########
@@ -20,6 +20,11 @@
 String sparkMajorVersion = '4.0'
 String scalaVersion = '2.13'
 
+if (!JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)) {

Review Comment:
   @zhztheplayer What @manuzhang is saying is that you can build with a later 
version, but you can set the target to 17. This way the JARs produced, will 
work with JDK 17: 
https://www.baeldung.com/java-source-target-options#backward-compatibility-with-older-java-versions



-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to