Skip to main content

What it flags

A stream, reader, writer or JDBC connection is opened outside try-with-resources and not closed by a later try/finally, returned or stored, so an exception leaks it.

Configuration

Set the rule to "off" in loadwise.config.json to drop its findings: