Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8334581 Remove no-arg constructor BasicSliderUI()
  3. JDK-8349406

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

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Delivered
    • Icon: P3 P3
    • 25
    • 25
    • 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.

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

              Created:
              Updated:
              Resolved: