RFR: CODETOOLS-7903400: DEFAULT_UNIX_ENV_VARS needs to be updated
Alexander Zvegintsev
azvegint at openjdk.org
Thu Apr 27 19:28:53 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 2199:
> 2197: }
> 2198:
> 2199: private void addEnvVars(Map<String, String> table, Map<String, String> sysEnv, Predicate<Map.Entry<String, String>> filter) {
`sysEnv` parameter doesn't seem to be used.
-------------
PR Review Comment: https://git.openjdk.org/jtreg/pull/152#discussion_r1179581626
More information about the jtreg-dev
mailing list