Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Correctness - Test Failure
-
Critical
-
Low Hanging Fruit
-
Unit Test
-
All
-
None
-
Description
Running the cqlsh tests on jdk1.8 no longer work.
The commit bf9a1d487b for CASSANDRA-10190 broke this, by defaulting CASSANDRA_USE_JDK11 to true. See https://github.com/apache/cassandra/commit/bf9a1d487b9ba469e8d740cf7d1cd419535a7e79#diff-90e40e02845884b66e9006b25250ea5cR36-R38
The following three work…
jenv shell 1.8
export CASSANDRA_USE_JDK11=false
./pylib/cassandra-cqlsh-tests.sh `pwd`
jenv shell 11.0
export CASSANDRA_USE_JDK11=true
./pylib/cassandra-cqlsh-tests.sh `pwd`
jenv shell 1.8 unset CASSANDRA_USE_JDK11 ./pylib/cassandra-cqlsh-tests.sh `pwd`
The following does not…
jenv shell 1.8 ./pylib/cassandra-cqlsh-tests.sh `pwd`
BUILD FAILED /Users/mick/src/apache/casSANDRA/build.xml:292: -Duse.jdk11=true or $CASSANDRA_USE_JDK11=true cannot be set when building from java 8
JDK 1.8 is expected to be the default. With CASSANDRA_USE_JDK11 being defined if/when JDK 11 is used.
Attachments
Issue Links
- is broken by
-
CASSANDRA-10190 Python 3 support for cqlsh
- Resolved