You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Andres de la Peña (Jira)" <ji...@apache.org> on 2020/11/24 17:58:00 UTC
[jira] [Created] (CASSANDRA-16300) Cassandra 2.2 doesn't satisfy
Java 1.7 language level
Andres de la Peña created CASSANDRA-16300:
---------------------------------------------
Summary: Cassandra 2.2 doesn't satisfy Java 1.7 language level
Key: CASSANDRA-16300
URL: https://issues.apache.org/jira/browse/CASSANDRA-16300
Project: Cassandra
Issue Type: Bug
Reporter: Andres de la Peña
I think that 2.2 needs to satisfy Java 1.7 language level. However, there are a few places where newer syntax is used:
* [MessagingService|https://github.com/apache/cassandra/blob/cassandra-2.2/src/java/org/apache/cassandra/net/MessagingService.java#L779]
* [ExecutorUtils|https://github.com/apache/cassandra/blob/cassandra-2.2/src/java/org/apache/cassandra/utils/ExecutorUtils.java#L36-L47]
* [Throwables|https://github.com/apache/cassandra/blob/cassandra-2.2/src/java/org/apache/cassandra/utils/Throwables.java#L36]
* [YamlConfigurationLoader|https://github.com/apache/cassandra/blob/cassandra-2.2/src/java/org/apache/cassandra/config/YamlConfigurationLoader.java#L142]
* [YamlConfigurationLoaderTest|https://github.com/apache/cassandra/blob/cassandra-2.2/test/unit/org/apache/cassandra/config/YamlConfigurationLoaderTest.java#L38]
If I'm right and we really need 1.7 language level we should fix those, which seems quite straightforward.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org