JDK-8334580 : Deprecate no-arg constructor BasicSliderUI() for removal
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 16,22,23,24
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-06-19
  • Updated: 2024-07-01
  • Resolved: 2024-06-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 23 JDK 24
23Fixed 24 b04Fixed
Related Reports
Blocks :  
CSR :  
Relates :  
Description
The no-arg constructor BasicSliderUI() was added under JDK-8250852 by mistake, it wasn't listed in the bug. The new constructor appears in CSR JDK-8251855 for that bug.

This constructor should be deprecated for removal and removed in a later release.

The bug was found during code review [1][2] for JDK-8332103.

[1] https://github.com/openjdk/jdk/pull/19192#discussion_r1600699721
[2] https://github.com/openjdk/jdk/pull/19192#issuecomment-2162815600
Comments
A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/19874 Date: 2024-06-25 03:41:05 +0000
25-06-2024

Changeset: e527e1c3 Author: Prasanta Sadhukhan <psadhukhan@openjdk.org> Date: 2024-06-25 03:26:18 +0000 URL: https://git.openjdk.org/jdk/commit/e527e1c32fcc7b2560cec540bcde930075ac284a
25-06-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/19819 Date: 2024-06-21 03:31:50 +0000
21-06-2024