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: Unresolved
    • 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. However, many were lacking a default constructor, so they were added to those classes in JDK-8250852.

      In that regard, a `BasicSliderUI` default constructor was added in JDK16, missing the fact that there was already another pre-existing constructor `BasicSliderUI(JSlider b)` in it, so there was no need of another constructor.

      So, it was deprecated in JDK23 and is now being removed in JDK25.

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

              Created:
              Updated: