JDK-8343484 : Remove unnecessary @SuppressWarnings annotations (nio)
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.nio
  • Priority: P5
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2024-11-02
  • Updated: 2024-12-13
  • Resolved: 2024-11-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 24
24 b23Fixed
Related Reports
Relates :  
Description
@SuppressWarnings annotations that don't actually suppress any warnings create a potential pathway for future bugs to creep in unnoticed. They should be removed if possible.

This issue is for those JDK files with the "nio" label. 
Comments
Changeset: 23fa1a33 Branch: master Author: Archie Cobbs <acobbs@openjdk.org> Date: 2024-11-04 16:13:10 +0000 URL: https://git.openjdk.org/jdk/commit/23fa1a33274d279a53fa6dde683900450561957b
04-11-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/21858 Date: 2024-11-02 16:19:15 +0000
02-11-2024