Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8299034

Runtime::exec clarification of inherited environment

    XMLWordPrintable

Details

    • b32

    Backports

      Description

        The spec of
        https://download.java.net/java/early_access/jdk20/docs/api/java.base/java/lang/Runtime.html#exec(java.lang.String%5B%5D,java.lang.String%5B%5D,java.io.File) mention that
        "If envp is null, the subprocess inherits the environment settings of the current process."

        Here the term "inherits" looks ambiguous, It would be helpful to clarify/enhance this further in the spec.

        Attachments

          Issue Links

            Activity

              People

                rriggs Roger Riggs
                kganapureddy Krushnareddy Ganapureddy
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: