You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ekaterina Dimitrova (Jira)" <ji...@apache.org> on 2021/11/02 22:10:00 UTC

[jira] [Commented] (CASSANDRA-16895) Support Java 17

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

Ekaterina Dimitrova commented on CASSANDRA-16895:
-------------------------------------------------

On a high level it seems we need to update:
 * ant to be at least 1.10.9, I updated it to 1.10.11
 * AssertJ
 * Probably the sooner we move to JUnit 5 the better, I didn't find info about JUnit 4 and Java 17 (CASSANDRA-16630)
 * Jackson - have to follow up with [~tatu-at-datastax] 
 * JNA - they are still testing Java 17
 * HdrHistogram - has to follow up for versions post Java 11
 * SLF4J - need to follow up for post Java 11
 * Apache Commons - has to follow up
 * Mockito - has to follow up post Java 16
 * Byte Buddy adds Java 17 support In 1.10.21, we are at 1.10.10
 * Byteman - most probably we need to update it
 * Jacoco should be at least 0.8.7 to work with Java 17 experimental. It depends on asm 9.2

About Jacoco and Byteman – we will need to work on CASSANDRA-16413 

Good reference for projects which are testing Java 17 can be found [here|https://wiki.openjdk.java.net/display/quality/Quality+Outreach].

Probably more to follow around the dependencies

> Support Java 17
> ---------------
>
>                 Key: CASSANDRA-16895
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16895
>             Project: Cassandra
>          Issue Type: Task
>          Components: Build
>            Reporter: Ekaterina Dimitrova
>            Assignee: Ekaterina Dimitrova
>            Priority: Low
>
>   This ticket is intended to group all issues found to support Java 17 in the future.
> Upgrade steps:
>  * [Dependencies |https://mvnrepository.com/artifact/org.apache.cassandra/cassandra-all/4.0.1]to be updated (not all but at least those that require an update in order to work with Java 17)
>  * More encapsulated JDK internal APIs. Some of the issues might be solved with the dependencies updates
>  * Currently trunk compiles if we remove the Nashorn dependency (ant script tag, used for the test environment; UDFs) . The oracle recommendation to use  Nashorn-core won't work for the project as it is under GPL 2.0. Most probably we will opt in for graal-sdk licensed under UPL
>  * All tests to be cleaned
>  * CI environment to be setup



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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