cassandra
cassandra copied to clipboard
Fix for CASSANDRA-18688: Limit Java runtime in 5.0 to JDK17 in scripts; add a flag to opt out of that
Limits Cassandra 5.0 startup to JDK11 & JDK17. An option -J has been added to bypass this limit
I almost forgot, we need similar changes for tools/bin/cassandra.in.sh
@shyla226 this is looking good. i have further questions about tightening up the messages, and avoiding us having to edit hardcoded numbers.
these are best expressed in the following suggested patch. does it make sense ? are you willing to squash it into your work ? https://github.com/apache/cassandra/commit/edecd68d277ae0deb645ae160077c3e9341be6ed
(if you agree, it would need to be re-applied to each of the modified files)
Plus we need to test the packaging in Jenkins
Jenkins does not work for pre-commit on 5.0 and trunk. Jenkins just uses the in-tree scripts, and it has already been tested thoroughly with these (separately by both @shyla226 and myself)