Re: RFR: 8314491: Linux: jexec launched via PATH fails to find java [v2]

2023-08-21 Thread David Holmes
On Mon, 21 Aug 2023 06:18:15 GMT, Vladimir Petko wrote: > realpath call in getJavaPath() function translates the symbolic link into the > binary path. Okay so a specific API makes this work as intended. What I can't determine is whether this may have an adverse effect on anyone using an

Re: RFR: 8314491: Linux: jexec launched via PATH fails to find java [v2]

2023-08-21 Thread Vladimir Petko
On Mon, 21 Aug 2023 04:38:56 GMT, David Holmes wrote: > I get the sense from the comment in jexec.c that it is only intended to be > launched via a full path, so having it in the $PATH seems like a usage error > to me. Unfortunately this executable is linked in /usr/bin and is assumed to work

Re: RFR: 8314491: Linux: jexec launched via PATH fails to find java [v2]

2023-08-21 Thread Vladimir Petko
> 8314491: Linux: jexec launched via PATH fails to find java Vladimir Petko has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits