Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-1394

org.apache.commons.lang3.SystemUtils should not write to System.err

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.8
    • lang.*
    • None

    Description

      The class org.apache.commons.lang3.SystemUtils should not write to System.err.

      Initializing the following may cause to write to System.err if a SecurityException is caught:

      AWT_TOOLKIT
      FILE_ENCODING
      FILE_SEPARATOR
      JAVA_AWT_FONTS
      JAVA_AWT_GRAPHICSENV
      JAVA_AWT_HEADLESS
      JAVA_AWT_PRINTERJOB
      JAVA_CLASS_PATH
      JAVA_CLASS_VERSION
      JAVA_COMPILER
      JAVA_ENDORSED_DIRS
      JAVA_EXT_DIRS
      JAVA_HOME
      JAVA_IO_TMPDIR
      JAVA_LIBRARY_PATH
      JAVA_RUNTIME_NAME
      JAVA_RUNTIME_VERSION
      JAVA_SPECIFICATION_NAME
      JAVA_SPECIFICATION_VENDOR
      JAVA_SPECIFICATION_VERSION
      JAVA_UTIL_PREFS_PREFERENCES_FACTORY
      JAVA_VENDOR
      JAVA_VENDOR_URL
      JAVA_VERSION
      JAVA_VM_INFO
      JAVA_VM_NAME
      JAVA_VM_SPECIFICATION_NAME
      JAVA_VM_SPECIFICATION_VENDOR
      JAVA_VM_SPECIFICATION_VERSION
      JAVA_VM_VENDOR
      JAVA_VM_VERSION
      LINE_SEPARATOR
      OS_ARCH
      OS_NAME
      OS_VERSION
      PATH_SEPARATOR
      USER_COUNTRY (3 matches)
      USER_DIR
      USER_HOME
      USER_LANGUAGE
      USER_NAME
      USER_TIMEZONE

       

      Attachments

        Activity

          People

            ggregory Gary D. Gregory
            ggregory Gary D. Gregory
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: