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

MenuItem has incorrect JavaDoc for setUserData

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: openjfx15
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:
    • Environment:

      OpenJFX 15

      Description

      The javadoc for setUserData says "this can later be retrieved by calling Node.getUserData()"

      ..but MenuItem is not an instance of Node.

      https://github.com/openjdk/jfx/blob/master/modules/javafx.controls/src/main/java/javafx/scene/control/MenuItem.java#L522

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              nlisker Nir Lisker
              Reporter:
              swpalmer Scott Palmer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: