cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedict (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-9431) Static Analysis to warn on unsafe use of Autocloseable instances
Date Tue, 19 May 2015 22:11:00 GMT

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

Benedict commented on CASSANDRA-9431:
-------------------------------------

My (out of date) experience with ecj (back in the days of 1.6 and 1.7 language features being
introduced) was that ecj was actually always much more solid than javac on handling edge cases
in the language.

However I agree that we should stick to javac for compilation, as I would not want to risk
weird bytecode production, which is much more important.

> Static Analysis to warn on unsafe use of Autocloseable instances
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-9431
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9431
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Benedict
>            Assignee: T Jake Luciani
>             Fix For: 3.0 beta 1
>
>
> The ideal goal would be to fail the build under any unsafe (and not annotated as considered
safe independently) uses of Autocloseable. It looks as though eclipse (and hence, hopefully
ecj) has support for this feature, so we should investigate if it meets our requirements and
we can get it integrated



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message