RFR: 8314491: Linux: jexec launched via PATH fails to find java [v6]
Alan Bateman
alanb at openjdk.org
Mon Aug 28 09:18:15 UTC 2023
On Fri, 25 Aug 2023 07:04:50 GMT, Vladimir Petko <vpetko at openjdk.org> wrote:
>> 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 eight additional commits since the last revision:
>
> - Merge branch 'master' into 8314491-jexec-resolve-symlink
> - declare error in-place
> - remove unused imports
> - Review comment: use /proc/self/exe as the backup option
> - Merge branch 'master' into 8314491-jexec-resolve-symlink
> - correct copyright statement
> - Use /proc/self/exec to identify path to the executable.
> - Create failing test for jexec in PATH issue
I think looks okay. I'm just surprised that it has been found/used on Linux as this was originally went with a Solaris feature for doing JRE version selection, and I actually thought had been removed a long time ago.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15343#issuecomment-1695334327
More information about the core-libs-dev
mailing list