[
https://issues.apache.org/jira/browse/CASSANDRA-16300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17243940#comment-17243940
]
Andres de la Peña commented on CASSANDRA-16300:
-----------------------------------------------
[~e.dimitrova] Yes, I'm attaching a unit test run with source.version=1.7 and
source.test.version=1.8. Locally in only find failures in
{{SSTableRewriterTest}}, but I get the same failures with source.version=1.8
and without the patch, so I'm assuming it's caused by my environment.
> 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]