Release Note: Removal of No-Argument Constructor for BasicSliderUI()

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Delivered
    • Priority: P3
    • 25
    • Affects Version/s: 25
    • Component/s: client-libs

      Several hundred classes in the `java.desktop` module used to rely on default constructors as part of their public API. Explicit constructors were added to these classes in JDK-8250852.

      As a result, a no-argument constructor, `BasicSliderUI()`, for the `BasicSliderUI` class was added in JDK 16. This missed that there already was a constructor `BasicSliderUI(JSlider b)`. Thus, there was no need for another constructor.

      The `BasicSliderUI()` constructor was deprecated in JDK 23 and is removed in JDK 25.

            Assignee:
            Prasanta Sadhukhan
            Reporter:
            Prasanta Sadhukhan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: