RFR: 7904016: preserve XAUTHORITY env variable

Christian Stein cstein at openjdk.org
Tue Aug 26 08:36:00 UTC 2025


On Mon, 25 Aug 2025 07:51:56 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> Can I please get a review of this change which enhances the jtreg tool to preserve the `XAUTHORITY` environment variable, if set, when launching a test?
> 
> This was requested in https://bugs.openjdk.org/browse/CODETOOLS-7904016.
> 
> A new self test has been introduced to verify this and other environment variables in a test. The documentation has also been refreshed to list the up-to-date environment variables that are preserved by jtreg.

Looks good and thanks for adding new tests.

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

Marked as reviewed by cstein (Reviewer).

PR Review: https://git.openjdk.org/jtreg/pull/279#pullrequestreview-3154563889


More information about the jtreg-dev mailing list