You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JDBC lint could eagerly warn about unclosed by tracking them in the parent. For example, DataSource could collect all created Connections in a list, Connection.close would remove from this list, and DataSource.close could warn when the list contains any elements. We should also investigate using weak references/reference queues instead of finalization since the former is more reliable and would cooperate with this feature.
The text was updated successfully, but these errors were encountered:
JDBC lint could eagerly warn about unclosed by tracking them in the parent. For example,
DataSource
could collect all createdConnection
s in a list,Connection.close
would remove from this list, andDataSource.close
could warn when the list contains any elements. We should also investigate using weak references/reference queues instead of finalization since the former is more reliable and would cooperate with this feature.The text was updated successfully, but these errors were encountered: