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

MenuItem has incorrect JavaDoc for setUserData

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • jfx15
    • javafx
    • 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

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

              Created:
              Updated:
              Resolved: