stoty commented on PR #6655:
URL: https://github.com/apache/hbase/pull/6655#issuecomment-2628991089

   The most reliable way to build a JDK8 compatible binary is to use JDK8.
   
   IIRC JDK17 does not support Java 8 via the --release flag, and -target alone 
does not guarantee backward compatibility.
   
   These changes check the minimum java version defined in the POM, and only 
activate JDK17 if it is set in the pom.
   
   Unless I messed something up, this should have zero effect on branch-2 
builds (The docker image still defaults to Java 8, as set by the alternatives 
command)
   


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