michaelsembwever commented on code in PR #88:
URL: https://github.com/apache/cassandra-builds/pull/88#discussion_r1065996925
##########
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:
`CASSANDRA_USE_JDK17` currently exists, and is required, off
@ekaterinadimitrova2 branch.
It will get removed, pre- or post- merge, depending if @ekaterinadimitrova2
includes the`JdkProperties` approach in the `netty-upgrade-jdk17test` branch.
(Otherwise it will be short lived and removed when
[18133](https://issues.apache.org/jira/browse/CASSANDRA-18133) lands.)
--
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]