On Mon, 18 Dec 2023 10:54:31 GMT, Thomas Stuefe <stu...@openjdk.org> wrote:

>> Yes it is, It's the fallback if LIBPATH is not defined
>
> In that case there may be errors in other places, since so far we assumed its 
> either one or the other, but not both. Example:
> 
> https://github.com/openjdk/jdk/blob/a247d0c74bea50f11d24fb5f3576947c6901e567/src/java.base/unix/native/libjli/java_md.c#L43C1-L47
> 
> Maybe you need to take a look here, in case LD_LIBRARYPATH needs to be 
> handled in addition to LIBPATH?

Yes, it's one or the other. If LIBPATH envvar exists (even empty string), 
LD_LIBRARY_PATH is ignored. So, no problems.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16920#discussion_r1430106335

Reply via email to