datasketches-memory icon indicating copy to clipboard operation
datasketches-memory copied to clipboard

False Positive Resource Leak Warnings

Open leerho opened this issue 4 months ago • 0 comments

With the 3.0.X releases, static code analyzers may issue a false-positive Potential Resource Memory Leak Warning on non-AutoClosable memory objects, such as on-heap Memory objects (e.g., wrapped arrays) or wrapped ByteBuffers.

These warnings can be suppressed with a @SuppressWarnings("resource") annotation or disabled within the static code analyzer.

This will be fixed with the next major release.

leerho avatar Oct 01 '24 17:10 leerho