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
I'm trying to debug an issue with rocksdbjni in a large codebase.
The missing close call is not detected for any concrete class of org.rocksdb.AbstractNativeReference:
FileInputStreamfi = newFileInputStream("asd"); <-- reportedas"Stream not closed on all paths"ReadOptionsreadOptions = newReadOptions(); <-- notreportedatall
ReadOptions is a AbstractNativeReference is AutoCloseable like this:
is there a special flag to enable to detect such cases? I tried with
EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION but it is not working with spotbugs version 4.7.3