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

Spec for javax.swing.plaf.LayerUI.installUI/uninstallUI() methods contradict behavior of the RI

    • b121
    • generic
    • generic
    • Verified

      Specification for the following methods contradicts behavior of the reference implementation

      Method javax.swing.plaf.LayerUI.installUI()

        "... The default implementation registers the LayerUI as a property change listener for the passed JLayer component".

      Method javax.swing.plaf.LayerUI.uninstallUI():

        "... The default implementation unregisters the property change listener for the passed JLayer component."

      In fact it is JLayer component who is registered or unregistered as property change listener of its LayerUI.
      Behavior is kind of inversion to what is specified.

            alexp Alexander Potochkin (Inactive)
            dbessono Dmitry Bessonov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: