[
https://issues.apache.org/jira/browse/CASSANDRA-15108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Blake Eggleston updated CASSANDRA-15108:
----------------------------------------
Test and Documentation Plan: I've just been testing with circle. Once it's
committed, some more detailed performance testing would be useful.
Status: Patch Available (was: Open)
|[trunk|https://github.com/bdeggleston/cassandra/tree/15108]|[dtests|https://github.com/bdeggleston/cassandra-dtest/tree/jdk11]|[j8
circle|https://circleci.com/workflow-run/4fd48a55-24cc-4920-bdb4-6e8a1c8ff90e]|[j11
circle|https://circleci.com/workflow-run/0655865d-ff5b-4bc8-a1ff-b705c63a40ed]|
This changes around how build.xml handles different jdks. The JDK you want to
build with is selected with $JAVA_HOME. JDK8 will work as before, but
attempting to build with JDK11 will fail unless you signal it’s intentional by
either setting the flag -Duse.jdk=11 and/or setting the env var
$CASSANDRA_USE_JDK11. Attempting to build with JDK8 will fail with these flags
set.
The commits are divided into about 3 parts. First is the actual build.xml
changes to support jdk11 build (and update intellij files). Second is various
adjustments to libraries and command flags to make C* and it’s tests work
properly with jdk11. Third is changes to circle ci configs to support building
and testing jdk8 and jdk11.
This also fixes several dtests that were failing since CASSANDRA-9608
> Support building Cassandra with JDK 11
> --------------------------------------
>
> Key: CASSANDRA-15108
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15108
> Project: Cassandra
> Issue Type: Improvement
> Components: Build
> Reporter: Blake Eggleston
> Assignee: Blake Eggleston
> Priority: Normal
>
> With the changes in java 8 support and licensing, we should be able to build
> and run Cassandra with java 11.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]