jsoref opened a new pull request #2866:
URL: https://github.com/apache/hive/pull/2866


   HIVE only supports Java 8
   
   ### What changes were proposed in this pull request?
   
   Fail build early if using a Java version that's new or older than Java 8.
   
   ### Why are the changes needed?
   
   Hive apparently doesn't support other versions
   
   ### Does this PR introduce _any_ user-facing change?
   
   Developers who try to build hive with a newer version of Java get an easy to 
understand error message instead of some hard to understand error message.
   
   ### How was this patch tested?
   I tried building w/:
   OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (build 11.0.11+9)
   OpenJDK Runtime Environment Corretto-17.0.1.12.1 (build 17.0.1+12-LTS)
   and they both failed quickly
   
   Building with:
   OpenJDK Runtime Environment Corretto-8.312.07.1 (build 1.8.0_312-b07)
   doesn't fail quickly.


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