ctubbsii commented on PR #2601:
URL: https://github.com/apache/thrift/pull/2601#issuecomment-1120352415

   > This is put to draft state because on xenial JDK 8 is used but somehow 
gradle 7.4+ does not quite work with Java 8. It'll at least require Java 11, 
which makes sense because it's the LTS version that's not at its end of life 
now.
   
   My personal preference would be to migrate the build to use JDK 11 at a 
minimum. The resulting libthrift.jar could still be used with Java 8, if the 
appropriate `--release 8` flag is placed on `javac`. In my experience, JDK 11 
is even better than JDK 8 at enforcing the Java 8 language rules and results in 
byte code that more reliably runs on a variety of Java 8 runtimes anyway. But, 
I don't know if you'd get resistance to this, because some people don't like 
building and testing with a different JDK version than the Java runtime the jar 
is targeting. I don't know how to set `--release 8` for Gradle, but it can't be 
too hard.


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

Reply via email to