[
https://issues.apache.org/jira/browse/CASSANDRA-18688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17758598#comment-17758598
]
Ekaterina Dimitrova commented on CASSANDRA-18688:
-------------------------------------------------
bq. This was almost ready. Is anything pending I am blocking as a reviewer?
I see an ongoing discussion between [~skokoori] and [~mck] in regard:
bq. -J option is inline with -R, f etc. we already provide for bin/cassandra.
By env var, I assume you mean something like what we had to enable JDK11 in
4.x, with a -D.
I am still not clear on which of the two options we go for:
bq. The options after this patch are:
1) Leave it that way and add the J flag only for 17+ if anyone wants to run
Cassandra experimentally on any of the newer versions.
2) Change it to the J flag suggested (same as 17+). Reject running on those
versions in general, give the people the chance to run Cassandra experimentally
on version 11-17 and 17+ by using the J flag
Also, [~skokoori] is off these days
> Limit Java runtime in 5.0 to JDK 11 and 17 in scripts; add a flag to opt out
> of that
> ------------------------------------------------------------------------------------
>
> Key: CASSANDRA-18688
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18688
> Project: Cassandra
> Issue Type: Task
> Components: Build
> Reporter: Ekaterina Dimitrova
> Assignee: shylaja kokoori
> Priority: Normal
> Fix For: 5.0.x
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> Currently, we limit our users from building with non-default Java versions in
> build.xml.
> They can easily hack build.xml for test purposes with different versions.
> Cassandra–5.0 will be run on JDK11 and JDK17, but on startup, we do not limit
> people to those two, but only to everything >= 11. We should also put an
> upper limit of 17 in our Cassandra startup scripts. We can also add a flag to
> opt-out if someone wants to test with newer versions.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]