[ 
https://issues.apache.org/jira/browse/CASSANDRA-16300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17238717#comment-17238717
 ] 

Andres de la Peña commented on CASSANDRA-16300:
-----------------------------------------------

[CircleCI 
results|https://app.circleci.com/pipelines/github/adelapena/cassandra/142/workflows/8c40cd44-a18a-413f-8d9b-9f47a208acb9]

> 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
>            Priority: Normal
>             Fix For: 2.2.x
>
>          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]

Reply via email to