Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8334677

Deprecate no-arg constructor BasicSliderUI() for removal

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P2 P2
    • 23, 24
    • client-libs
    • 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() {}

            psadhukhan Prasanta Sadhukhan
            aivanov Alexey Ivanov
            Alexey Ivanov, Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: