On Thu, 3 Oct 2024 07:49:22 GMT, Alexey Ivanov <[email protected]> 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 <[email protected]> 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
