[
https://issues.apache.org/jira/browse/CASSANDRA-9209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maxim Muzafarov updated CASSANDRA-9209:
---------------------------------------
Epic Link: CASSANDRA-18090
> 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
> Components: Legacy/Core, Legacy/Testing
> Reporter: Benedict Elliott Smith
> Priority: Normal
> Fix For: 4.x
>
>
> 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
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]