JDK-8344076 : Remove unnecessary @SuppressWarnings annotations and Xlint:-foo options (umbrella)
  • Type: Bug
  • Component: core-libs
  • Affected Version: 24
  • Priority: P5
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2024-11-13
  • Updated: 2025-10-06
  • Resolved: 2025-10-06
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 26
26Fixed
Related Reports
Relates :  
Sub Tasks
JDK-8343467 :  
JDK-8343476 :  
JDK-8343477 :  
JDK-8343478 :  
JDK-8343479 :  
JDK-8343480 :  
JDK-8343481 :  
JDK-8343482 :  
JDK-8343483 :  
JDK-8343484 :  
JDK-8343486 :  
JDK-8346953 :  
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.

Similarly, any -Xlint:-foo command line options that don't actually suppress any warnings should also be removed. 

This issue is an "umbrella" issue.
Comments
Closing this issue: all sub-tasks have been closed.
06-10-2025