You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2019/03/29 20:50:37 UTC

[GitHub] [calcite] risdenk commented on a change in pull request #1139: [CALCITE-2961] Enable Travis to test against JDK 13

risdenk commented on a change in pull request #1139: [CALCITE-2961] Enable Travis to test against JDK 13
URL: https://github.com/apache/calcite/pull/1139#discussion_r270569245
 
 

 ##########
 File path: cassandra/src/test/java/org/apache/calcite/test/CassandraAdapterTest.java
 ##########
 @@ -84,8 +86,8 @@
   private static boolean enabled() {
     final boolean enabled = CalciteSystemProperty.TEST_CASSANDRA.value();
     Bug.upgrade("remove JDK version check once current adapter supports Cassandra 4.x");
-    final boolean compatibleJdk = TestUtil.getJavaMajorVersion() != 11
-                                      && TestUtil.getJavaMajorVersion() != 12;
+    final List<Integer> incompatibleJdks = Arrays.asList(11, 12, 13);
 
 Review comment:
   yea so I had thought about that. I think JDK 8 comes back as 1.8 sometimes? I'd need to double check. I just wanted to get a run that passes.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services