Re: RFR: 8361253: CommanLineOptionTest library should report observed values on failure

2025-07-02 Thread David Holmes
On Wed, 2 Jul 2025 11:00:44 GMT, Manuel Hässig wrote: > When a check in `CommandLineOptionTest` fails, the `AssertionError` message > contains the expected value, but not the observed value. To reduce the amount > of digging in the logs we have to do when analyzing a failure, this PR adds > th

RFR: 8361253: CommanLineOptionTest library should report observed values on failure

2025-07-02 Thread Manuel Hässig
When a check in `CommandLineOptionTest` fails, the `AssertionError` message contains the expected value, but not the observed value. To reduce the amount of digging in the logs we have to do when analyzing a failure, this PR adds the observed value to the error messages. So instead of java.la