lukasz-antoniak opened a new pull request, #2000:
URL: https://github.com/apache/cassandra-java-driver/pull/2000

   Fixes [CASSJAVA-52](https://issues.apache.org/jira/browse/CASSJAVA-52).
   
   ASF CI performs the following sequence of operations to compile the driver 
and run integration tests:
   ```
   $ mvn clean install -DskipTests
   $ java11 (or any other version that we wish to run the tests with)
   $ mvn verify -DccmJvm.version=11 -Dccm.version=4.0.4 -DtestJavaHome=...
   ```
   
   `mvn verify` should not need to recompile source code, because JVM version 
is not set to 1.8 any more. Build failure:
   ```
   [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) 
on project java-driver-guava-shaded: Compilation failure
   [ERROR] 
/cassandra-java-driver/guava-shaded/src/main/java/com/google/common/primitives/LexicographicalComparatorHolderSubstitution.java:[24,17]
 cannot access java.util.Comparator
   [ERROR]   bad class file: /modules/java.base/java/util/Comparator.class
   [ERROR]     class file has wrong version 55.0, should be 53.0
   [ERROR]     Please remove or make sure it appears in the correct 
subdirectory of the classpath.
   ```
   CI failed job: 
[link](https://ci-cassandra.apache.org/blue/organizations/jenkins/cassandra-java-driver/detail/4.x/21/pipeline/).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to