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

Nonexisting parameters are mentioned in Swing spec need to be corrected

    Details

    • Subcomponent:
    • Resolved In Build:
      b20
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Description

      Getting warnings in Swing classes while building a spec for JDK:

      1) typos: src/share/classes/javax/swing/JSlider.java:582: warning - @param argument "n" is not a parameter name.
      src/share/classes/javax/swing/JSlider.java:623: warning - @param argument "n" is not a parameter name.
      src/share/classes/javax/swing/tree/DefaultTreeSelectionModel.java:526: warning - @returns is an unknown tag.
      src/share/classes/javax/swing/plaf/basic/BasicArrowButton.java:108: warning - @param argument "direction" is not a parameter name.
      src/share/classes/javax/swing/plaf/basic/BasicArrowButton.java:118: warning - @param argument "direction" is not a parameter name.

      2) brocken link src/share/classes/javax/swing/package.html: warning - Tag @link: reference not found: SwingWorker

      Plus one more typo in JRadioButton.CLASS_COMMENT:
      * Tocreate a button panel, you should still create a {@link JPanel} or similar
      "Tocreate" should be "To create"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rupashka Pavel Porvatov (Inactive)
                Reporter:
                dav Andrei Dmitriev (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: