JDK-8361112 : Use exact float -> Float16 conversion method in Float16 tests
  • Type: Enhancement
  • Component: core-libs
  • Affected Version: 26
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-07-01
  • Updated: 2025-08-19
  • Resolved: 2025-07-02
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 26
26 b05Fixed
Related Reports
Relates :  
Relates :  
Description
Many of the individual test cases in the Float16 tests rely on float value acting as a substitute for exact Float16 literals. This testing logic would be more robust if an exact float -> Float16 conversion method were available.
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk25u/pull/98 Date: 2025-08-18 20:40:47 +0000
18-08-2025

[jdk25u-fix-request] Approval Request from Abhishek N Backporting the changes to 25u repo
18-08-2025

Changeset: 549b8758 Branch: master Author: Joe Darcy <darcy@openjdk.org> Date: 2025-07-02 15:24:29 +0000 URL: https://git.openjdk.org/jdk/commit/549b8758661e760a7475fb398fd5b036e561fed6
02-07-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/26055 Date: 2025-07-01 02:28:55 +0000
01-07-2025