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

doc build fails after JDK-8262981

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Version:
      17
    • Resolved In Build:
      b19

      Description

      JDK-8262981 added the following method to

      src/java.desktop/share/classes/javax/swing/JSlider.java

      /**
               * Performs the specified Action on the object
               *
               * @param i zero-based index of actions. The first action
               * (index 0) is AccessibleAction.INCREMENT and the second
               * action (index 1) is AccessibleAction.DECREMENT.
               * @return true.
               * @see #getAccessibleActionCount
               */
              public boolean doAccessibleAction(int direction) {

      But the param tag uses the wrong name and so causes a doc build failure:

      [2021-04-15T12:06:25,234Z] Generating JDK_API javadoc for 60 modules
      [2021-04-15T12:06:55,538Z] /opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S79095/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/20965e7e-17f0-4e8d-a462-d66574cfcba2/runs/8aa9e345-506a-43c0-972e-2f45acf98f86/workspace/open/src/java.desktop/share/classes/javax/swing/JSlider.java:1588: error: @param name not found
      [2021-04-15T12:06:55,538Z] * @param i zero-based index of actions. The first action
      [2021-04-15T12:06:55,538Z] ^

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pbansal Pankaj Bansal
              Reporter:
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: