cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedict (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-9209) Add static analysis to report any AutoCloseable objects that are not encapsulated in a try/finally block
Date Fri, 17 Apr 2015 17:45:58 GMT
Benedict created CASSANDRA-9209:
-----------------------------------

             Summary: Add static analysis to report any AutoCloseable objects that are not
encapsulated in a try/finally block
                 Key: CASSANDRA-9209
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9209
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Benedict
             Fix For: 3.0


Shouldn't be too tricky, and would help us potentially avoid a number of bugs. A follow up
would be to enable optional ref counting (or at least leak detection) at run time for AutoCloseable
objects, possibly only for those we care about, but also possible via bytecode weaving so
that we could capture all of them without question.

(/cc [~tjake])



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

Mime
View raw message