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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to