JDK-8343481 : Remove unnecessary @SuppressWarnings annotations (kulla)
  • Type: Sub-task
  • Component: tools
  • Sub-Component: jshell
  • Priority: P5
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2024-11-02
  • Updated: 2025-10-06
  • Resolved: 2025-10-06
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 "kulla" label. 
Comments
Decided not to do this one because JLine is 3rd party code so we don't want to be making unnecessary changes to it. See PR discussion.
06-10-2025

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