JDK-8315973 : Remove unused fields from ThreadLocalRandom
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.util.concurrent
  • Affected Version: 17,21
  • Priority: P5
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-09-11
  • Updated: 2023-09-18
  • Resolved: 2023-09-14
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 22
22 masterFixed
Related Reports
Relates :  
Description
There are 3 fields which are currently unused

    static final String BAD_SIZE  = "size must be non-negative";
    static final String BAD_RANGE = "bound must be greater than origin";
    static final String BAD_SIZE = "size must be non-negative";

These messages were used before JDK-8248862
Comments
Changeset: 14408bc8 Author: Andrey Turbanov <aturbanov@openjdk.org> Date: 2023-09-14 09:01:13 +0000 URL: https://git.openjdk.org/jdk/commit/14408bc8f846447312fd18dde1f8c615ddad61c0
14-09-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/15363 Date: 2023-08-21 15:07:45 +0000
11-09-2023