-
Type:
Sub-task
-
Resolution: Delivered
-
Priority:
P3
-
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.
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.