RFR: 7903732: Verify that the java executable exists

Ludvig Janiuk lujaniuk at openjdk.org
Wed May 22 12:57:36 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.

I believe running the tests isn't warranted since it's a small launcher-only change. Same with writing unit tests for this.

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

PR Comment: https://git.openjdk.org/jtreg/pull/196#issuecomment-2124730641


More information about the jtreg-dev mailing list