[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-hotspot-runtime-dev
Subject:    Withdrawn: 8293806: JDK_JAVA_OPTIONS picked up twice if LD_LIBRARY_PATH is set
From:       Dmitry Samersoff <dsamersoff () openjdk ! org>
Date:       2022-09-26 10:16:30
Message-ID: KKvYQL8HL5t6C6mH7i29RQPvfl8eb3CTeUft0x3DlUY=.de5873fc-3e11-4cf3-8f7b-93a37769ae24 () github ! com
[Download RAW message or body]

On Mon, 26 Sep 2022 09:46:36 GMT, Dmitry Samersoff <dsamersoff@openjdk.org> wrote:

> If the user has set LD_LIBRARY_PATH to use a particular libjvm.so, options from the \
> JDK_JAVA_OPTIONS environment variable are picked up twice. 
> If an option cannot be accepted twice (e.g., -agentlib), the application fails to \
> start. 
> The same happens on operating systems that doesn't support $RPATH/$ORIGIN and \
> always have to set LD_LIBRARY_PATH and re-exec the launcher.  
> The fix adds one additional argument - orig_argv to JLI_Launch() and use it in on \
> relaunch in execv() call. 
> All relevant jtreg tests are passed.

This pull request has been closed without being integrated.

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

PR: https://git.openjdk.org/jdk/pull/10420


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic