[ 
https://issues.apache.org/jira/browse/CASSANDRA-17869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17645428#comment-17645428
 ] 

Michael Semb Wever commented on CASSANDRA-17869:
------------------------------------------------

bq. switch to CASSANDRA_USE_JDK17 and -Duse.jdk17=true

yes, but what's the purpose or value of these variables? 
to prevent you from compiling with a version of java you didn't intend but that 
is still supported? sounds like a layer7 problem to me, that the build doesn't 
need to care about – you build with the version you have, end of story.

bq. I guess what you are looking for is automated detection of JDK version and 
logging 

detection and logging is already automatic.
and enforcing it to the two LTS happens with the {{<property 
name="java.supported" value="11,17" />}} (which can be overridden for those 
wanting to experiment with other JDKs).

bq. Do we keep the old cassandra branches as is with cassandra-builds still in 
place and initiate a change only for trunk (bringing scripts to .build)? 

my first thoughts was only trunk. so if the scripts were not found in .build/ 
fallback to the clone cassandra-builds approach.

> Add JDK17 option to cassandra-builds (build-scripts and jenkins dsl) and on 
> jenkins agents
> ------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-17869
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17869
>             Project: Cassandra
>          Issue Type: Task
>          Components: Build
>            Reporter: Michael Semb Wever
>            Assignee: Michael Semb Wever
>            Priority: Normal
>
> Add JDK17 option to cassandra-builds build-scripts, they only currently 
> support options {{8}} and {{1}}.
> Add JDK17 to the matrix axes in the jenkins dsl.
> Ensure JDK17 is installed on all the jenkins agents.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to