Integrated: 8341235: Improve default instruction frame title in PassFailJFrame

Alexey Ivanov aivanov at openjdk.org
Mon Oct 7 12:47:42 UTC 2024


On Thu, 3 Oct 2024 07:49:22 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

> The default title for the instruction frame in `PassFailJFrame` is currently _“Test Instruction Frame”_.
> 
> Most tests change this default to _“Test Instructions”_ which describes the content and purpose of the frame better. So, this should be the default title, and it's shorter.
> 
> jtreg has a property which describes the test name. Thus, the title could be more specific: _“<testName.java> - Test Instructions”_.
> 
> Additionally, I added javadoc comments to the default parameters of `PassFailJFrame` and to the `Builder.validate` method.

This pull request has now been integrated.

Changeset: 4ba170c4
Author:    Alexey Ivanov <aivanov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/4ba170c403ae85576f84dafd4a157ba0db99873f
Stats:     42 lines in 1 file changed: 39 ins; 0 del; 3 mod

8341235: Improve default instruction frame title in PassFailJFrame

Reviewed-by: prr

-------------

PR: https://git.openjdk.org/jdk/pull/21320


More information about the client-libs-dev mailing list