On Mon, 21 Aug 2023 06:18:15 GMT, Vladimir Petko <vpe...@openjdk.org> 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 "unusual" path to jexec, that `/proc/self/exe` will report 
differently. To minimise the impact on existing users can this be implemented 
as a fallback if the initial attempt to locate `java` fails?

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

PR Comment: https://git.openjdk.org/jdk/pull/15343#issuecomment-1685732281

Reply via email to