Skip to content

False Positive Resource Leak Warnings  #216

@leerho

Description

@leerho

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions