-
CSR
-
Resolution: Approved
-
P3
-
None
-
source
-
minimal
-
removal of deprecated method
-
Java API
-
SE
Summary
The no-arg public constructor of javax.swing.plaf.basic.BasicSliderUI
was deprecated in JDK 23 and marked for removal in a next release which is being done now.
Problem
The no-arg constructor BasicSliderUI()
was added by mistake under JDK-8250852 and the new constructor appears in CSR JDK-8251855 for that bug in JDK 16.
Solution
Remove the now deprecated accidentally added constructor.
Specification
javax.swing.plaf.basic.BasicSliderUI.java
- /**
- * Constructs a {@code BasicSliderUI}.
- *
- * @since 16
- * @deprecated This constructor was exposed erroneously and will be removed in a future release.
- * Use {@link #BasicSliderUI(JSlider)} instead.
- */
- @Deprecated(since = "23", forRemoval = true)
- public BasicSliderUI() {}
- csr of
-
JDK-8334581 Remove no-arg constructor BasicSliderUI()
-
- Resolved
-