Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8044613

Fix finally lint warnings in jdk libraries

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Other
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: client-libs
    • Labels:

      Description

      Various libraries in the JDK have javac lint "finally" warnings for finally clauses that cannot complete normally. These issues should be fixed.

        Issue Links

          Activity

          Hide
          darcy Joe Darcy added a comment -
          As of the bug's filing, 3 warnings are observed in an OpenJDK build of JDK 9:
          /dev/jdk/src/share/classes/javax/swing/JEditorPane.java:683: warning: [finally] finally clause cannot complete normally
                      }
                      ^
          /dev/jdk/src/share/classes/sun/print/PSPrinterJob.java:712: warning: [finally] finally clause cannot complete normally
                          }
                          ^
          /dev/jdk/src/solaris/classes/sun/print/UnixPrintJob.java:996: warning: [finally] finally clause cannot complete normally
                          }
                          ^
          Show
          darcy Joe Darcy added a comment - As of the bug's filing, 3 warnings are observed in an OpenJDK build of JDK 9: /dev/jdk/src/share/classes/javax/swing/JEditorPane.java:683: warning: [finally] finally clause cannot complete normally             }             ^ /dev/jdk/src/share/classes/sun/print/PSPrinterJob.java:712: warning: [finally] finally clause cannot complete normally                 }                 ^ /dev/jdk/src/solaris/classes/sun/print/UnixPrintJob.java:996: warning: [finally] finally clause cannot complete normally                 }                 ^
          Hide
          darcy Joe Darcy added a comment -
          All logical subtasks of this effort are now complete.
          Show
          darcy Joe Darcy added a comment - All logical subtasks of this effort are now complete.

            People

            • Assignee:
              darcy Joe Darcy
              Reporter:
              darcy Joe Darcy
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: