driftx commented on code in PR #88:
URL: https://github.com/apache/cassandra-builds/pull/88#discussion_r1065990003


##########
docker/build-rpms.sh:
##########
@@ -89,7 +91,12 @@ else
    CASSANDRA_REVISION="${dt}git${ref}"
 fi
 
-if [ $JAVA_VERSION = "11" ]; then
+if [ $JAVA_VERSION = "17" ]; then
+   sudo alternatives --set java $(alternatives --display java | grep 'family 
java-17-openjdk' | cut -d' ' -f1)
+   sudo alternatives --set javac $(alternatives --display javac | grep 'family 
java-17-openjdk' | cut -d' ' -f1)
+   export CASSANDRA_USE_JDK17=true

Review Comment:
   This is unused, right?



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