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

java.lang.Runtime.exec String[] envp should be Map<String,String> envp

XMLWordPrintable

    • generic
    • generic

      ADDITIONAL SYSTEM INFORMATION :
      DISTRIB_DESCRIPTION="Ubuntu 22.04.2 LTS"
      VERSION="22.04.2 LTS (Jammy Jellyfish)"
      openjdk version "20" 2023-03-21
      OpenJDK Runtime Environment (build 20+36-2344)
      OpenJDK 64-Bit Server VM (build 20+36-2344, mixed mode, sharing)


      A DESCRIPTION OF THE PROBLEM :
      Current type String[] envp in java.lang.Runtime.exec should be deprecated and replaced by Map<String,String> envp. Just like String command was deprecated, String[] envp should also, normalizing the functionality. It accommodates System.getenv() verbatim, for example.


            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: