MenuItem has incorrect JavaDoc for setUserData

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: jfx15
    • Component/s: javafx
    • Environment:

      OpenJFX 15

      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

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

              Created:
              Updated:
              Resolved: