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_r270574608
 
 

 ##########
 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 agreed. Just not sure when 1.8 comes up anymore. I guess not with the 
newer Maven compiler plugin. I'll take a look at what 
`TestUtil.getJavaMajorVersion()` is doing since it returns an integer anyway. 
So might not have to worry.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to