JDK-8361253 : CommandLineOptionTest library should report observed values on failure
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 26
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-07-02
  • Updated: 2025-07-04
  • Resolved: 2025-07-04
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 masterFixed
Related Reports
Relates :  
Description
The CommandLineOptionTest library currently only reports the expected value when failing. To reduce guessing when analyzing failures, it should also report the observed value. This pertains mainly to verifyOptionValue and the expected exit code in verifyJVMStartup.

Reported by [~dholmes] in JDK-8360641.
Comments
Changeset: f153e415 Branch: master Author: Manuel Hässig <mhaessig@openjdk.org> Date: 2025-07-04 13:06:36 +0000 URL: https://git.openjdk.org/jdk/commit/f153e415d740f4ede272929171e9bb3e73ddbe1c
04-07-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/26092 Date: 2025-07-02 11:00:44 +0000
02-07-2025