RFR: CODETOOLS-7903400: DEFAULT_UNIX_ENV_VARS needs to be updated

Phil Race prr at openjdk.org
Thu Apr 27 19:28:56 UTC 2023


On Thu, 27 Apr 2023 19:06:54 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

> Please review a small change to add additional environment variables that may be required on some Unix-like platforms.
> 
> The additions include:
> * `DBUS_SESSION_BUS_ADDRESS`
> * `WAYLAND_DISPLAY`
> * all `XDG_*` variables
> 
> There is some related additional cleanup in this area as well.

src/share/classes/com/sun/javatest/regtest/tool/Tool.java line 2342:

> 2340: 
> 2341:     private static final String[] DEFAULT_UNIX_ENV_VARS = {
> 2342:             "DBUS_SESSION_BUS_ADDRESS", "DISPLAY",

Any reason you did not include these below from the bug report ?
They aren't known to be critical but ..
DESKTOP_SESSION=ubuntu-wayland 
GDMSESSION=ubuntu-wayland 
GNOME_SHELL_SESSION_MODE=ubuntu

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

PR Review Comment: https://git.openjdk.org/jtreg/pull/152#discussion_r1179586760


More information about the jtreg-dev mailing list