-
CSR
-
Resolution: Approved
-
P2
-
None
-
minimal
-
deprecation only
-
Java API
-
SE
Summary
Deprecate for removal the no-args public constructor of javax.swing.plaf.basic.BasicSliderUI
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
Deprecate for removal the accidentally added constructor.
Specification
javax.swing.plaf.basic.BasicSliderUI
/**
* Constructs a {@code BasicSliderUI}.
+ * @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-8334580 Deprecate no-arg constructor BasicSliderUI() for removal
-
- Closed
-