RFR: 7903732: Verify that the java executable exists

Christian Stein cstein at openjdk.org
Fri May 24 11:02:16 UTC 2024


On Wed, 22 May 2024 12:51:03 GMT, Ludvig Janiuk <lujaniuk at openjdk.org> wrote:

> I want to add a small check in `src/share/bin/jtreg.sh` to have jtreg see if the java it wants to run even exists, before proceeding to verify the version. This would make it easier for the user to notice tha they have mistyped the -jdk parameter.

Failing faster with a better error message is good.

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

Marked as reviewed by cstein (Committer).

PR Review: https://git.openjdk.org/jtreg/pull/196#pullrequestreview-2076588192


More information about the jtreg-dev mailing list