[
https://issues.apache.org/jira/browse/CASSANDRA-16300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17244059#comment-17244059
]
Ekaterina Dimitrova commented on CASSANDRA-16300:
-------------------------------------------------
Thank you [~adelapena]! LGTM +1
> 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
> Components: Build
> Reporter: Andres de la Peña
> Assignee: Andres de la Peña
> Priority: Normal
> Fix For: 2.2.x
>
> Attachments: junitreport.zip
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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]