[jdk20] RFR: 8299034: Runtime::exec clarification of inherited environment

Roger Riggs rriggs at openjdk.org
Wed Jan 11 18:39:15 UTC 2023


The current description of Runtime.exec, ProcessBuilder.start, and ProcessBuilder.startPipeline identifies a minimum set of system dependent environment variables needed to launch a process and allows additional system dependent environment variables to be present in the child. However, it does not acknowledge that the parent's values of the minimum set of system dependent variables may not be appropriate for the child.

The description of the minimum set of system dependent environment variables is extended to allow the parent's values of those environment variables to be overridden in the child.

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

Commit messages:
 - 8299034: Runtime::exec clarification of inherited environment
 - 8299034: Runtime::exec clarification of inherited environment

Changes: https://git.openjdk.org/jdk20/pull/98/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk20&pr=98&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8299034
  Stats: 6 lines in 2 files changed: 6 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk20/pull/98.diff
  Fetch: git fetch https://git.openjdk.org/jdk20 pull/98/head:pull/98

PR: https://git.openjdk.org/jdk20/pull/98


More information about the core-libs-dev mailing list