Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

False Positive Resource Leak Warnings #216

Open
leerho opened this issue Oct 1, 2024 · 0 comments
Open

False Positive Resource Leak Warnings #216

leerho opened this issue Oct 1, 2024 · 0 comments

Comments

@leerho
Copy link
Contributor

leerho commented Oct 1, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant